asp.net - "breakpoint will not currently be hit"在 ASP.NET 中

标签 asp.net visual-studio debugging

Possible Duplicate:
“The breakpoint will not currently be hit. The source code is different from the original version.” What the hell does this mean?

(一位同事帮我回答了这个问题,所以我将发布问题和答案...)

当我尝试调试 ASP.NET 应用程序时,我收到“当前不会命中断点。源代码与原始版本不同”,并且无论我做什么或构建多少次,都会终止Web 服务器,终止浏览器,重新启动 Visual Studio 等等。它一直给我这样的信息!

最佳答案

删除 C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files 下的所有内容

关于asp.net - "breakpoint will not currently be hit"在 ASP.NET 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2097805/

相关文章:

asp.net - 添加一个不存在的css类不好吗?

javascript - 通过后端c#在javascript文件中设置数据

c++ - 在监 window 口中查看原始类型定义

debugging - VS 2015 Update 2 - 调试时变量不存在,为什么?

visual-studio - 如何在运行时列出函数的所有调用?

ASP.NET 自定义网页控件样式 渲染样式规则

javascript - 在 JavaScript 中更改的隐藏字段值不会反射(reflect)在 Chrome 的服务器上

visual-studio - 为什么Visual Studio不喜欢这种XML模式? (前缀 ''不能映射到为 "xml"或 "xmlns"保留的 namespace 名称)

c# - C#中构造函数的具体形式

visual-studio - Visual Studio卡住/TFS窗口可能不在屏幕上