Re: Visual Studio Wen Forms Designer Error: File Could not be loaded
Yeah, the IDE does some brain dead thing when you inherit from visual classes. 2005 does the same thing and I am not sure how to turn it off.
The basic problem is that it append the namespace of your application (or a project folder as a namespace) when you make a new class. This messes up the IDE's ability to let you edit and make an inherited form. The fix is easy, just go into the two .cs files it makes and fix the namespaces.
For example, lets say I have a user control called Person. Lets say I make a project folder call Employee and I wish to inherit from Person. I choose inherited user control and select person as the base class (and I do this from the Employee folder). You will get the error you describe.
Just go into the employee.cs and employee.designer.cs and make sure the class's namespace is correct both in the namespace declaration and in the class definition. It has been a while since I have done this, but you will see that one or more namespace paths are wrong. Fix them and then the IDE will start to work again.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.