I have a TFS build that needs to apply web.config transformations. I have it configured with the following MSBuild parameters:
/p:DeployOnBuild=true /p:DeployTarget=Package /p:OutDir=$(build.artifactstagingdirectory) /p:UseWPP_CopyWebApplication=true /p:PipelineDependsOnBuild=false
When running the step with Visual Studio 2015, the build works as expected - I get the transforms applied and packages created.
When running the step with Visual Studio 2017, no transforms are applied and no packages created.
Is there another way to configure the build with VS2017 so that config transforms are applied?