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. 删除工程....

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

重新创建vs2008工程, 出现“add/remove operation is impossible, because the code element......”的问题,  解决方法很简单: ...

Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService'...

Operation category READ is not supported in state standby解决

hdfs写的那台机器是待机状态的,所以不支持,要在active 机器中写才行./hdfs haadmin -transitionToActive --forcemanual nn1再次访问就变一act...

HBase Operation category READ is not supported in state standby

2016-12-29 14:48:44,188 INFO  [master:master:60000] http.HttpServer: Jetty bound to port 60010 2016-...

Linux下MySQL出现#1036 – Table ‘ ‘ is read only 等错误解决方法

因为linux权限问题,我们在对mysql数据库操作出现如下错误的解决方案: 错误原因:一般都是我们将数据库文件从一个服务器或者本地转移到另一个linux机下时,原本我们在mysql新建的库或...

Python Numpy.ndarray ValueError:assignment destination is read-only

参考:http://stackoverflow.com/questions/13572448/change-values-in-a-numpy-array #################...

The MySQL server is running with the --read-only option so it cannot execute this statement

1、错误描述Caused by: java.sql.SQLException: The MySQL server is running with the --read-only option so i...

在bochs上运行freedos,在freedos上运行我们的代码-解决mount:block device pm.img is write-protected,mounting read-only

问题的提出:磁盘或软盘等设备的引导扇区(也即0面0磁道第1扇区,传说中的MBR)只有512B,计算机启动后,CPU进入实模式,会执行传说中的BIOS(其入口地址一般为0xFFFF0,此地址为硬件直接指...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:add/remove operation is impossible, because the code element 'Cxxx' is read only
举报原因:
原因补充:

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