Deploying an Azure Resource Group project as part of an MsBuild script

I am trying to migrate our solution from classic to resource manager deployment, and I am stuck in starting RM deployment as a build step of the MsBuild script. For a classic project there is

<MSBuild Projects="SomeAzureProject\SomeAzureProject.ccproj" Targets="Publish" Properties=" VisualStudioVersion=$(VisualStudioVersion); Configuration=$(CloudConfiguration); Platform=$(Platform); TargetProfile=$(CloudTargetProfile); PublishProfile=$(CloudPublishProfile); PublishDir=$(CloudPublishDir);"></MSBuild> 

assembly step.

Is there something similar for .deployproj? If so, what parameters should be passed to it? (we should be able to pass at least the name of the resource group, the name of the params file and the name of the template file).

+5
source share

Source: https://habr.com/ru/post/1268982/


All Articles