I have raised this originally in the TFS support forums (with the same title) but was directed to this forum as a more appropriate one.
I have an ASP.NET MVC application published to Azure Web APP from VS2013 using a publish profile with Configuration settings set to Debug to apply web.config transformations.
This all works fine (including the transformations) when done from Visual Studio (right click project and choose publish profile).
I also have a nightly build for this application's solution on TFS 2013 build server which I am trying to enhance to include deploying the site to Azure. For this I am using MsBuild arguments in the Default Build Template as
/p:VisualStudioVersion=12.0 /p:DeployOnBuild=True /p:PublishProfile="abhayavacanaadminreview - Web Deploy.pubxml" /p:UserName=$*** /p:Password=*******************************
The build performs the deployment fine, however, the web.config transformations relating to Debug configurationdo not happen (so connection strings to new DB still point to the local DB).
Is there anything I can do here with the arguments to MsBuild to enforce those transformations to happen or do I need a completely different approach to this to support my Continuous Integration process?
insula_dev