How to set Project Settings with Configuration specific values in VS2013?

116 views Asked by At

Is there a way to set Project Settings with Build Configuration specific values in VS2013? I need to set different values for a WebServiceURL setting from one Build Configuration to another (say MSSQL configuration vs Oracle configuration).

I saw both a preprocessor assembly configuration using #if DEBUG and an afterbuild config file overwrite approach, but the former does not allow for custom configuration names or more than 2 configurations while the later involves copying files after build rather than the quick and easy edit in the Project Properties > Settings page.

Is there something similar to Web.config Transformation available to App.config maybe?

1

There are 1 answers

2
al_amanat On BEST ANSWER

Try this plugin, it works for me. And you can transform any xml-file. https://visualstudiogallery.msdn.microsoft.com/579d3a78-3bdd-497c-bc21-aa6e6abbc859