VS 2015 更新 1 - 声称我正在调试发布版本 [英] VS 2015 Update 1 - Claiming I am debugging a release build

查看:33
本文介绍了VS 2015 更新 1 - 声称我正在调试发布版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到 VS 2015 update 1 后,如果我运行 Web 项目 (MVC),请停止该应用程序,然后再次尝试运行它,VS 停止并弹出一个对话框声明

After updating to VS 2015 update 1, if I run a web project (MVC), stop the application, then try to run it again, VS stops and pops up a dialog claiming

您正在调试 的发布版本.

You are debugging a Release build of <myproject.dll>.

在使用编译器优化的发布版本中使用 Just My Code 会导致调试体验下降(例如,不会命中断点).

Using Just My Code with release builds using compiler optimizations results in a degraded debugging experience (e.g. breakpoints won't be hit).

问题是我没有运行发布版本.我显然正在运行我刚刚运行的(相同)调试版本!为什么 VS 认为我正在运行发布版本?

The problem is I'm not running a release build. I'm clearly running the (same) debug build I just ran! Why does VS think I'm running a release build?

清理解决方案并重新运行会清除错误消息,因此某处存在一些问题.

Cleaning the solution and re-running clears the error message, so something is hosed somewhere.

推荐答案

来自 Microsoft 的说法是这是一个已知问题(它最初交给了调试器团队,但被确定是一个构建问题,现在在项目系统团队的手.在这个问题上还有其他的错误,它被评为优先级 1,所以应该在下一次更新的轨道上.虽然正如预期的那样,但不能保证它什么时候发布(或更新中实际包含的内容).

The word from Microsoft is that this is a known issue (it originally went to the Debugger team, but was determined it was a build issue, and is now in the Project system team's hands. There are other bugs open on this issue, and it's rated Priority 1, so should be on track for the next update. Though as would be expected, no promises can be made as to when it will be released (or what is actually in the update).

所以.它是已知的并且正在研究中.至少暂时关闭调试常规选项中的仅启用我的代码"似乎是一种解决方法.

So. It's known and is being worked on. At least turning off the "Enable Just My Code" in the Debugging General Options seems to be a work around for now.

这篇关于VS 2015 更新 1 - 声称我正在调试发布版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆