How to fix your web.config files not transforming in Azure Pipelines and Releases - Digital Tool Factory blog How to fix your web.config files not transforming in Azure Pipelines and Releases - Digital Tool Factory blog

How to fix your web.config files not transforming in Azure Pipelines and Releases

After much sturm and drang I finally found that if you change your build arguements to

msbuildArgs: ‘/p:DeployOnBuild=true  /p:WebPublishMethod=Package  /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true  /p:PackageLocation=”$(build.artifactStagingDirectory)”  /p:AutoParameterizationWebConfigConnectionStrings=false’

And do the the other tips listed on this blog then the web.config files should transform like they are supposed to.

 

Written By Steve French

 

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.