I am in process of writing a C# Windows Forms application using Visual Studio Express 2010 ENU SP1. Further VS specifics are at the bottom of this post. I recently made so
I had the same problem with VB. Thanks for the hints. I found the same issues in the .vbproj with my UserControl.
I had this in the .vbproj file:
And changed it to this:
UserControl
When I reloaded it I was still having problems and realised that I had written another class in above the form class, this was causing the error. The form class must be first. All I had to do was move my class down and make the form class the top one.
I hope this helps others - good luck!
p.s - I am using vs Community 2015