Friday, July 25, 2014

Create web.config transform based on publish profile

If you've used Visual Studio since 2010 or 2012, you know how easy it is to transform config files based on the build configuration.

If you've used SlowCheetah, you know how easy it is to transform config files (other than web.config) based on the build configuration OR Visual Studio publish profiles.

You probably also know how unintuitive it can be to add a web.config transformation based on the project's publish profiles. Here's how.

From an existing profile







Right-click and choose "Add Config Transform", not "Add Transform".











No comments:

Post a Comment