error: Form1---The base class 'System.Windows.Forms.Form' could not be loaded

A

Ajay Mirani

Hi,

I have serious issues setting up new PPC Form applications within the IDE ->
the Form Designer constantly returns the error: Form1---The base class
'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has
been referenced or built if it is part of the project.

Thanks
 
G

Geoff Schwab [MSFT]

Hi Ajay,

What settings are you using in the application wizard when you create the
project? This would typical of a DLL project

Try adding the assembly by right-clicking on the project in the solution
explorer and selecting "Add reference" (or selecting Project->Add Reference
from the main menu of Visual Studio). You should get an Add Reference
dialog. Select the .NET tab, then System.Windows.Forms in the list and
double-click. This will cause it to appear in the Selected Components
window. Press the OK button and the assembly is added to your project.

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Chris

I have the exact same problem.

I've tried manually adding the reference with no results. I've uninstalled
/ reinstalled Studio 2003 multiple times with the same results. Each time,
when I select the .Net tab for references, I have to browse for them b/c
they are not automatically listed.
 
G

Guest

Even me to have serious issues, in adding up new forms and opening up new forms in a project which was written for Compact Framework (1.0.5000).

Have tried all combinations of DLLs, reference adding. Nothing worked out.
Is there any solutions?

Raja

----- Ajay Mirani wrote: -----

Hi,

I have serious issues setting up new PPC Form applications within the IDE ->
the Form Designer constantly returns the error: Form1---The base class
'System.Windows.Forms.Form' could not be loaded. Ensure the assembly has
been referenced or built if it is part of the project.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top