开发者

Are web.config transformations applied when I "Start Debugging" in Visual Studio? [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

How can I use Web.debug.config in the built-in visual studio debugger server?

I added a Debug/Release web.config transformation file to a web application project.

While its working when I build a deployment package it is not applied when I simply "start debugging" (green play button). Is this the expected behaviour or should the transformations be applied? What are best practices to switch between different co开发者_Go百科nfigurations in development?

How can I raplidly test if a web.config transformation works and whats the resulting web.config file?


No; only when you build the deployment package - and they are not applied to the files in your project at all - so they are not present from the project, debugging or otherwise - without some custom step to get the transformed web.config moved.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜