Command Line Compiler Errors: Compile a form as a dll
Posted on 2004-08-23
I have created a form that I use when running tasks that gives the user a progress bar and feedback. Works very well when the form is incorporated into a project and instantiated from there. I would like to compile it - via the command line - to be a dll. I have tried several times to do this, and have got to 2 errors that I am unable to resolve:
1.Error: BC30002 Type 'INT32' is not defined.
2.Error: BC30451 Name 'Application' is not declared.
I have done a lot of research and I have found that I am referencing all of the correct assemblies needed to compile from the command line. The command I use is as follows:
vbc /traget:library /out:BusyBar.dll /reference:System.dll,System.Data.dll,System.Drawing.dll,System.Windows.Forms.dll,System.XML.dll frmBusy.vb
I would appreciate any help or feedback that could be offered.