1

Looking to setup jenkins to deploy my web app I'm using the script

msbuild WEB.csproj /p:Configuration=stage /t:Build /p:PrecompileBeforePublish=true /p:OutputPath=c:\test /p:DeployOnBuild=true /p:AutoParameterizationWebConfigConnectionStrings=False

I get the web application in _PublishedWebsite however the web.config needs to get transformed. Any tips?

Aleks Andreev
  • 7,016
  • 8
  • 29
  • 37

1 Answers1

5

from this post TFS 2012 not copying transformed Web.Config to _PublishedWebsite

add /p:UseWPP_CopyWebApplication=true /p:PipelineDependsOnBuild=false to the command solved the issue