.NET SDK. How to compile a VB file?

P

Patrick Olurotimi Ige

Its there!!
You should find it in :-

c:\wiinnt\Microsoft.Net\Framework\(yourverison Number)e.g v1.1.432
Do "vbc /t:library /out:myFile.dll myFile.vb" from the command
And if using visual Studio just add it to your project and compile it it
would create one for you...

Hope that helps
PAtrick
 
J

Juan T. Llibre

There's a touch of deja vu in this...

Just open a command window ( cmd.exe );
make sure that the .Net Framework directory is in your path
( the .Net dir is where the vbc.exe compiler is located ) ;
navigate to the directory where you have your .vb files,
and run the compile command :

vbc /t:library /out:myFile.dll myFile.vb

myFile.dll will be created/compiled in the current directory.

Move it to the /bin directory of your application and fire away.
If you want to have VS.NET use it, reference it in your project.
 
S

Scott Allen

Hi Shapper -

The command line compilers are part of the SDK. Is vbc.exe not in your
framework installation directory?
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top