Add/Remove operation impossible, because the code element '<your class>' is read only

  • Thread starter Thread starter BuffaloJ
  • Start date Start date
B

BuffaloJ

Guest
I get this error constantly while doing C++(ANSI C++, not mananged) development with VS2005. I get this error when I try to add a message handler for an MFC class.

I have seen other posts asking when this will be fixed and including work arounds for the problem. I can generally clean the project, exit Viusual Studio, delete the .ncb and .suo files and the add message operation will work.



Is there any sense of when this will be fixed? Is it even being looked at? This is a very annoying problem that comes up probably 9 out of 10 times for me so it should be a pretty easy one to reproduce. Heck, just have someone sit down and write a simple MFC app and chances are they will reproduce the problem pretty quickly.

This didn't happen for me in VS2003 and especially not VS6.0. I have SP1 for VS2005, btw...

thanks

Continue reading...
 
Back
Top