Compiling from command line...

G

Guest

How is it possible to compile a project from the command line and the .vbproj?

Thanks,
Daniele
 
P

Phill. W

Daniele said:
How is it possible to compile a project from the command line and
the .vbproj?

If you /only/ have Visual Basic, use vbc.exe to compile the project.
It's fiddly, because you have to include each referenced assembly as
an argument to vbc.

If you've got the whole SheeBang of Visual Studio, use devenv.com
directly on the Solution - it's a lot simpler.

HTH,
Phill W.
 
G

Guest

I can use devenv.com but I cannot understand how to use my .vbproj... what is
the argument?
 
H

Herfried K. Wagner [MVP]

Daniele said:
How is it possible to compile a project from the command line and the
.vbproj?

Call "devenv /?" to get a list of supported command line options.
 
C

Cor Ligthert

Daniele,

As far as I know is the .VBproj file a typical VSNet file and not a
commandline part.

Cor
 
H

Herfried K. Wagner [MVP]

Cor Ligthert said:
As far as I know is the .VBproj file a typical VSNet file and not a
commandline part.

It's possible to compile VB.NET project files using "devenv.exe" from the
command-line.
 
C

Cor Ligthert

Herfried,

I read most of your messages, my message was I thought from an older message
you had sent that AFAIK was about VBC. I did not check if it was from you
by the way, I just remembered it me.

However thanks.

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

Top