[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Re: compiler error: vbc : Command line error BC2001 : file 'system.drawing.dll,' could not be found

Andrew Gnenny

9/24/2003 12:07:00 PM

Change the command line to:
vbc hellogui.vb /reference:system.dll /reference:system.drawing.dll
/reference:system.windows.forms.dll /target:winexe

Or just remove the spaces:
vbc hellogui.vb
/reference:system.dll,system.drawing.dll,system.windows.forms.dll
/target:winexe

--
Andrew Gnenny
X-Unity Test Studio
http://x-unity.miik.com.ua/tests...
Bring the power of unit testing to VS .NET IDE


"Pablo Villa - Bit Sistemas" <pablo@bit-sistemas.com> wrote in message
news:OlDKDAGVDHA.1600@TK2MSFTNGP09.phx.gbl...
I'm trying to compile a simple vb file from a Quick Tutorial
This sample contains three imports:
Imports System
Imports System.Drawing
Imports System.Windows.Forms

The command line is :
vbc hellogui.vb /reference:system.dll, system.drawing.dll,
system.windows.forms.dll /target:winexe

The compile says:
vbc : Command line error BC2001 : file 'system.drawing.dll,' could not
be found
vbc : Command line error BC2001 : file 'system.windows.forms.dll,' could
not be found

I can see drawing and windows.forms assemblies in the gac list
(gacutil.exe -l).

why the compiler does not find those dll files ?

thanks for your help
pablo