Azure

2 posts

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.

A quick write up to document web config changes when deploying to azure using release pipelines in azure devops

So – you want a step by step guide to deploying web apps to azure web apps from azure devops and changing config files in the release pipelines? Look no further. First create the new web.config files, as seen below In the file properties – make sure they are set to “Content” and “Copy Always” […]