简体   繁体   中英

How do I add different profiles to an asp.net project?

I have an asp.net project on VS2012 with one profile only "Debug". I keep changing manually the web.config and I would like to use Transformation instead but I understood that different profiles are needed to make transformations. How do I add new profiles in the solution, debug, testing, production to be able to use transformations?

In the menu bar: Build -> Configuration Manager and select New in the "Active solution configuration" drop down.

There are more than configuration transformation to the build configuration - see this answer for more info: Performance difference between debug and release builds

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM