不知在哪里看见说vs2010可以同时有两个app.config,一个是调试时的,另一个是发布时的,,
我现在的项目是从2008升级上来的,只有一个app.config,想请教一下如何设置成两个app.config呢?
不是非常清楚,反正我知道在web.config中可以直接设置此处决定是Debug还是Release:
<?xml version="1.0"?> <configuration>
<system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer>
</configuration>
原文来自:雨枫技术教程网 http://www.fengfly.com 原文网址:http://www.fengfly.com/plus/view-168896-1.html