I'm having trouble setting up my release build on VSTS. I have a web app that is deployed to a dev environment on each build. After which we can choose to deploy that release to the Production or Test environment.
On going to the Prod environment, I want to use the web.release.config to replace the variables for connection string, app settings, etc. This works fine but it does it for both releases, DEV and PROD.
I.E. if I provide the correct prod connection string in the web.release.config, it is deployed to the Dev site on the first build release.
I suspect that the Build is doing this rather than the release.
How do I prevent the web.release.config from being applied to the default DEV build?
The pic shows the release config, the Dev one does not have the xml transform checked.
this is the transform that is only in the Web.Release.Config file.
Any assistance in getting the release to swap the config values for PROD only would be much appreciated.
Is it the BUILD and not the release???
using visual studio 2017 preview of 15.3 version checking in to VSTS for build and releases.
Best Regards, Rod