【转】How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”
2010-06-13 10:06
671 查看
With Visual Studio 2008(2005), 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
from:http://blog.csdn.net/mannhello/archive/2010/01/14/5190179.aspx
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
from:http://blog.csdn.net/mannhello/archive/2010/01/14/5190179.aspx
相关文章推荐
- 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
- "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
- add/remove operation is impossible, because the code element 'Cxxx' is read only
- add/remove operation is impossible, because the code element 'Cxxx' is read only
- add/remove operation is impossible, because the code element 'Cxxx' is read only
- VS2008 “Add/Remove operation is impossible,becase the code element 'ConnectionAddDlg' is read only”
- add/remove operation is impossible, because the code element
- add/remove operation is impossible, because the code element
- add/remove operation is impossible, because the code element
- add/remove operation is impossible, because the code element ...
- solution:Failed to update database "XXX.MDF" because the database is read-only.
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- Cannot add event handler because code element marked as read-only
- Cannot add event handler because code element marked as read-only
- Database 'xxx' cannot be upgraded because it is read-only or has read-only file Make the database or files writeable, and rerun recovery.
- how to solve the problem which is the imail software can not send email in wan,but can send email in lan.
- Question 12: In C++, which of the following is the best declaration for an overloaded operator[] to allow read-only access (and