开发者

Web.Config values to be specific to release vs debug

开发者 https://www.devze.com 2023-01-05 20:13 出处:网络
Is it possible to make some values in my Web.Config file dependent on whether I am build开发者_运维百科ing a release or debug based ASP.NET application?Yes you are looking for web.config and transform

Is it possible to make some values in my Web.Config file dependent on whether I am build开发者_运维百科ing a release or debug based ASP.NET application?


Yes you are looking for web.config and transformation, it's part of 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消