关闭

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

标签: propertiesdeletefile
5404人阅读 评论(1) 收藏 举报
分类:

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

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:392754次
    • 积分:4583
    • 等级:
    • 排名:第6634名
    • 原创:53篇
    • 转载:115篇
    • 译文:0篇
    • 评论:26条
    最新评论