I'm using visual studio 2010, and I've got a file what contains my own namespace and a bunch of my own classes. One of these classes is derived from a .NET object, a contextmenu. Because of this, my workspace explorer treats it as a custom user control (see 'ODL' below).
This not only changes the icon, but changes the double-click action -- now when I double click on it it tries to open a designer, which does not exist and I get an error. It takes several clicks to get to the code. This is a nuisance that turns into a major pain after the thousandth time.
Is there any way -- maybe an attribute or something -- to convince the solution explorer that it's just code, not a custom user control -- without separating my code into different pieces.
Thanks for any help.