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

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
  • 3043

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” W...
  • linghaidong
  • linghaidong
  • 2014年07月18日 17:45
  • 661

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
  • 1410

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” W...
  • ying909175415
  • ying909175415
  • 2014年04月02日 12:22
  • 699

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
  • 711

add/remove operation is impossible, because the code element

 重新创建工程,出现“add/remove operation is impossible, because the code element”的问题,goole了一下,解决方法很简单:1 删除工程....
  • jingjing_123
  • jingjing_123
  • 2009年01月14日 15:03
  • 2798

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

这样的问题直接删.ncb文件重新打开工程,不用看贴了
  • qincheng1
  • qincheng1
  • 2016年06月17日 11:11
  • 517

"add/removeoperation is impossible, because the code element 'Cxxx' is read only" 的解决办法

一. "add/remove operation is impossible, because the code element 'Cxxx' is read only" 的解决办法   1) C...
  • Leighton_52
  • Leighton_52
  • 2013年08月13日 10:59
  • 616

VS2008 “Add/Remove operation is impossible,becase the code element 'ConnectionAddDlg' is read only”

删除.ncb文件,然后重新打开运行即可。
  • sj19890401
  • sj19890401
  • 2014年10月17日 10:46
  • 403

解决给MFC的类添加消息响应函数时报错“because the code element 'Cxxx' is read only ”

|字号 订阅 1) Close current project 2) Enter the directory where the project located ...
  • dodott
  • dodott
  • 2013年04月11日 18:25
  • 1096
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:add/remove operation is impossible, because the code element 'Cxxx' is read only
举报原因:
原因补充:

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