简体   繁体   中英

How to get to Release web.config file

How do I get to release web.config ?

I am using Visual Studio 2012 and I cannot seem to find how to get to it.

Right click on your web.config file, click "add config transforms" to create the configuration transformations for each of your solution configuration.

Then to preview the files, right click on it (ie: web.release.config) and select "preview transform".

Note : if you do not have the mentionned options in the context menu, consider installing the "Web essentials" extention. It will make your life easier and save a leprauchaun from a terrible death.

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