The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Hi @Geoff Brown ,
Thank you for sending us your concern.
This error means the Windows Forms Designer cannot correctly resolve the form’s base class. It is often caused by a build error, incorrect inheritance, a mismatch between the main form file and the .Designer file, or a corrupted designer file.
Please try these steps:
- Rebuild the solution and fix any compile-time errors first.
- Open
GeoffPicViewFormand confirm it correctly inherits fromSystem.Windows.Forms.Form. - Check the matching
.Designer.vb/.Designer.csfile and make sure the class name is the same, it is marked asPartial, andInitializeComponent()exists. - Close Visual Studio, delete the
.vs,bin, andobjfolders, then reopen the solution and rebuild. - Add a new Windows Form to the project as a test. If the new form opens in Designer, the issue is likely specific to
GeoffPicViewFormor its designer file.
If the form inherits from a custom base form, please also make sure the base form project builds successfully and is correctly referenced.
Hope this helps! If my answer was helpful so far, you can follow this guidance to provide some feedback. This also help another find the solution easier.