问题
How can I perform web.config transformations using Visual Studio 2008?
Someone had asked me if you can perform config transformations in Visual Studio 2008. I know you can as I do remember several articles on this. However, I can't seem to find any of the links as of now. Can anyone point to an article on Google/Bing/Search of the week and/or provide a quick sample so that I may pass it on?
Everything I'm finding targets 2010.
回答1:
There you go:
Visual Studio 2008: http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx
Via:
http://www.google.com/search?&rlz=&q=%22config+transformation+visual+in+visual+studio+2008%22&aq=f&aqi=&aql=&oq=&gs_rfai=#sclient=psy&hl=de&q=web.config+transformation+in+visual+studio+2008&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=1&cad=b
Visual Studio 2010: http://blogs.msdn.com/b/webdevtools/archive/2009/05/04/web-deployment-web-config-transformation.aspx
Via:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=web.config+transformation+vs2010#sclient=psy&hl=de&source=hp&q=web.config+transformation+vs2010&aq=f&aqi=&aql=&oq=web.config+transformation+vs2010&gs_rfai=&pbx=1&fp=8ba42b7f45bd826&cad=b
来源:https://stackoverflow.com/questions/4024401/web-config-transformations-in-vs2008