cymorg
cymorg

Reputation: 554

Can we have more than just debug & release configurations in Visual Studio?

In a new Visual Studio ASP.NET project we get web.debug.config and web.release.config out-of-the-box. XDT transforms allow us to manipulate the the contents of these files. Is it possible to add more of this type of file?

Can we, for example, get a web.custom.config (and list it under web.config) so we can switch between debug, custom & release configurations, in the same way we currently switch between debug & release?

Upvotes: 0

Views: 187

Answers (1)

Jazimov
Jazimov

Reputation: 13282

If you right-click the solution in Solution Explorer and access properties you will see a properties dialog that lets you select Configuration Properties. At the top right of that dialog you will see a Configuration Manager button. Click that to launch the Configuration Manager dialog. Click the Active solution configuration dropdown list and select New... to make a new configuration. See screenshot below.

enter image description here

Upvotes: 1

Related Questions