When you run an application in the debugger, it appears to not apply the transf开发者_StackOverflow中文版ormations to the web.config based on your build selection. Is this the case or am I missing something? It appears to be working just fine if I publish to local IIS, just does not seem to work in the debugger.
after saving the web.config changes then applying full refresh "ctrl + F5" (actually not always required) to the browser you are suppose to get the effect of the changes.
also check the existance of:
<compilation debug="true">
in the web.config file.
精彩评论