VB command line compiler vbc.exe AND type "Int32" is not defined

  • Thread starter Thread starter bob95226
  • Start date Start date
B

bob95226

Hi All,

I wrote a VB.NET control in Visual Studio 2003 IDE, I am trying to
re-compile it with command line compiler vbc.exe like this:
vbc /t:library /out:my_control.dll my_control.vb

However vbc doesn't work with error "type 'Int32' is not defined"

Your help would be greatly appreciated!

Thanks,

Bob
 
Bob,

You need for VBC to set all the librarys and references that are used. Those
are set in Visual Studio Net for VB already set in the project properties.

Cor
 
I'm having the same problem "cannot find" system.data.sqlclient...I did the
/imports switch ie. vbc /imports:system.data.sqlclient...and still get error
that vbc cant find Namespace or type sqlclient for the imports
system.data.sqlclient
 
Back
Top