add/remove operation is impossible, because the code element 'Cxxx' is read only

转载 2010年01月14日 15:27:00

How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”

With Visual Studio 2008, we may meet “add/remove operation is impossible, because the code element 'Cxxx' is read only” error when we want to add a new message handler in “properties” window. In order to solve this issue, we shall:

1) Close current project

2) Enter the directory where the project located

3) delete the .ncb and .suo file  (When I meet this problem, I only delete the .ncb file, and it becomes ok.)

4) reopen the project

Then we shall can add new message handler without any issue

零基础学习ArcGis for Android 视频课程

全们学习移动端GIS开发
  • 2016年08月19日 09:50

add/remove operation is impossible, because the code element

重新创建工程, 出现“add/remove operation is impossible, because the code element......”的问题,  解决方法很简单:1. 删除工程....
  • great3779
  • great3779
  • 2010-11-30 14:52:00
  • 3095

add/remove operation is impossible, because the code element ...

重新创建vs2008工程, 出现“add/remove operation is impossible, because the code element......”的问题,  解决方法很简单: ...
  • mowwwcom
  • mowwwcom
  • 2015-03-17 11:11:41
  • 740

How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”

How to solve “add/remove operation is impossible, because the code element Cxxx is read only”With Vi...
  • gamer243
  • gamer243
  • 2010-04-14 09:32:00
  • 1423

vs 使用小技巧

这些都是在使用vs编译器遇到的一些问题,这些方法自己都测试过,在本人机器上测试可行 VS2010 窗口布局打乱了之后怎么恢复成默认的啊?? http://zhidao.baidu.com/ques...
  • LearnITing
  • LearnITing
  • 2012-10-07 14:59:53
  • 694

VC++调试常见错误总结

1、errorC2859 vc90.idb is not the idb file that was used when this precompiled headerwas created。   ...
  • fanyun_01
  • fanyun_01
  • 2016-06-27 13:45:16
  • 1596

MFC 多文本使用多模板

MFC多文本使用多模板步骤: 1:在CWinxxxApp::Instance()里添加一套新的模板,代码如下; [cpp] view plain copy  ...
  • qq_23992597
  • qq_23992597
  • 2017-02-17 16:42:59
  • 1126

VS2008查看消息的响应函数

选择类视图,选择要查看的类,右击属性,
  • qq_17242957
  • qq_17242957
  • 2014-08-19 17:09:20
  • 627

vs2005使用总结

1、Tools菜单栏下Error Lookup工具,查看系统错误信息; 2、鼠标右击菜单栏的功能       Refactor(VA X)下的Add Include功能;       Go To De...
  • iamherego
  • iamherego
  • 2013-10-24 16:46:16
  • 900
收藏助手
不良信息举报
您举报文章:add/remove operation is impossible, because the code element 'Cxxx' is read only
举报原因:
原因补充:

(最多只允许输入30个字)