I have one single project in the solution, where all forms, classes and user controls are located.
On opening a few different forms in the Designer, I get the following error:
Could not find type 'MyApp.MyCustomControl'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
And the error has this MSDN article.
All items (classes, user controls, etc) are marked as internal and there's no mixture of multiple namespaces. Also, these classes are all accessible in code. The solution compiles and builds successfully. Only some forms won't open in the Designer.
I've cleaned, rebuilt and restarted the solution multiple times but the error persists.
What am I missing?