Object of type "X" cannot be converted to object of type "X"

Posted by Benjol on Stack Overflow See other posts from Stack Overflow or by Benjol
Published on 2010-01-22T06:56:32Z Indexed on 2010/03/08 10:06 UTC
Read the original article Hit count: 246

Filed under:
|
|

(Can't believe this hasn't already been asked, but I can't find a dup)

In Visual Studio with lots of projects, when I first open the solution, I sometimes get the warning Object of type "X" cannot be converted to object of type "X". Generally rebuilding seems to make it go away, but does anyone know what this is caused by, and how to avoid it?

UPDATE I read somewhere that deleting all your resx files and rebuilding can help. I unthinkingly tried this. Not a good idea...

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about winforms