简体   繁体   中英

Web.Config values to be specific to release vs debug

是否可以根据正在构建基于发行版还是调试基于ASP.NET的应用程序在Web.Config文件中添加一些值?

是的,您正在寻找web.config和Transformation ,它是VS2010的一部分

Yes it is, but...

Using web.config transformations you can transform web.config for the deployment process. You can't use this for debugging purposes.

See my question on this topic.

VS 2010 Web.config transformations for debugging

Yes.

You can use XDT transforms .

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