Compile Error

  • Thread starter Thread starter Ellis Yu
  • Start date Start date
E

Ellis Yu

Dear all,

When I compile the problem, the debug console show 2 errors as
below:

Preparing resources...
Updating references...
Performing main compilation...
vbc : error BC30464: Namespace or type 'Drawing' in the project-level
Imports 'System.Drawing' cannot be found.
vbc : error BC30464: Namespace or type 'Forms' in the project-level Imports
'System.Windows.Forms' cannot be found.
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is
missing.

I had been added the import library the 'system.windows.form' and
'system.drawing' in the project properties. Anyone know how to solve it?
Thanks

Best Regards
Ellis
 
Ellis,

Did you set references. Can be using the solution explorer or using in top
Project->Add Reference->System.Drawing.dll

Normally system forms is already imported, that you can see in your
application properties at imports.

I hope this helps

Cor
 

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

Back
Top