Cannot add event handler because code element marked as read-only
2012-06-25 19:38
423 查看
解决步骤如下:
-Close all instances of Visual Studio
-Delete *.ncb *.aps *.suo *.user
-Open Visual studio and clear solution
-Build solution
答案来自:https://connect.microsoft.com/VisualStudio/feedback/details/105469/cannot-add-event-handler-because-code-element-marked-as-read-only
-Close all instances of Visual Studio
-Delete *.ncb *.aps *.suo *.user
-Open Visual studio and clear solution
-Build solution
答案来自:https://connect.microsoft.com/VisualStudio/feedback/details/105469/cannot-add-event-handler-because-code-element-marked-as-read-only
相关文章推荐
- Cannot add event handler because code element marked as read-only
- 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”
- 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/removeoperation is impossible, because the code element 'Cxxx' is read only" 的解决办法
- 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
- VS2008 “Add/Remove operation is impossible,becase the code element 'ConnectionAddDlg' is read only”
- Transaction rolled back because it has been marked as rollback only
- Element 'beans' cannot have character [children], because the type's content type is element-only
- Element 'beans' cannot have character [children], because the type's content type is element-only
- Element 'project' cannot have character [children], because the type's content type is element-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.
- Element 'property' cannot have character [children], because the type's content type is element-only
- Transaction rolled back because it has been marked as rollback-only解决方案
- Transaction rolled back because it has been marked as rollback-only
- “Transaction rolled back because it has been marked as rollback-only”
- Transaction rolled back because it has been marked as rollback-only