How to setup web.config transformation for website

2019-07-19 13:17发布

问题:

I have a website project and would like to setup different web.config transformation files for it, but the option doesn't exist when I right-click on the web.config file. Is this option limited to web applications?

回答1:

You can use a Web Deployment Project.

For the VS 2010 version, see:

http://www.microsoft.com/download/en/details.aspx?id=24509