问题
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
来源:https://stackoverflow.com/questions/8765812/how-to-setup-web-config-transformation-for-website-projects