Visual Studio:“应用代码更改"被禁用 [英] Visual Studio: "Apply Code Changes" is disabled

查看:40
本文介绍了Visual Studio:“应用代码更改"被禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2005.当我调试我的项目时,菜单中的应用代码更改"被禁用.曾经这对我的项目有效,但今天没有.我应该检查哪些设置才能使其正常工作.

I am using Visual Studio 2005. When I debug my project, "Apply Code Changes" is disabled in the menu. At one time this worked on my project, but today doesn't. What settings should I check to allow this to work.

我已经检查过的东西:

我处于调试模式.
调试信息格式"设置为用于编辑和继续的程序数据库".

I am in debug mode.
"Debug Information Format" is set to "Program Database for Edit & Continue."

推荐答案

终于找到了我遗漏的设置:

Finally found the setting I was missing:

在项目属性中,转到配置属性->链接器->常规.将启用增量链接"设置为是".

In the project properties, go to Configuration Properties->Linker->General. Set "Enable Incremental Linking" to "Yes."

希望这些信息可以在未来对其他人有所帮助.

Hopefully this information can help someone else in the future.

这篇关于Visual Studio:“应用代码更改"被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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