Publish an Azure Application Using MSBuild

Visual Studio 2013 has a publishing wizard for Cloud Service projects that packs and deploys a cloud service based on the settings saved in the .azurePubxml file.

I configure automation of this process on the CI server and want to use this functionality in MSBuild, but I'm not sure if this is possible.

I found a lot of articles that talk about shelling with a PowerShell script and using a special MSBuild target file for deployment, but this is like duplicating information that I would not want to delve into.

Given that I have the Azure credentials installed on the build machine, VS 2013 and Azure SDK 2.2, can I call the same mechanism that VS 2013 uses in the Publish Wizard to package and deploy my cloud service?

Currently, using MSBuild for publishing, I can package this service in a .cspkg file, but I cannot figure out how to run a package / deployment based on the profile (.azurePubxml file) that defines the VS build configuration, and all Azure settings .

+4
source share
1 answer

, , . Visual Studio , . CI - -, .

CI PowerShell, , Windows Azure PowerShell . , Team Builds TFS , MSDN.

+1

All Articles