Visual Studio Online continuous deployment to Azure Website with publish profile

前端 未结 1 1306
后悔当初
后悔当初 2021-01-13 09:09

I am using Visual Studio Online to deploy my project continuously after the CI build pass. However I have to use a publish profile to build the production web.config transfo

1条回答
  •  再見小時候
    2021-01-13 09:16

    I had the same problem. I found that "Path to Deployment Settings" sets the MSBuild parameter "/p:PublishProfilePath". You can see this in the Diagnostic log of the build. I'm not sure what the PublishProfilePath parameter does though.

    But I got transforms working a different way. In the "Build" section, I set "Configurations" to use the Release configuration. Publishing through VSO build seems to apply the transform for the config.

    0 讨论(0)
提交回复
热议问题