Build all from command line

G

graham.king

Hi,

I was wondering if it is possible to build all projects in a VS.net
solution from the command line without having to open the solution and
tick every project in the configuration manage?

I currently am aware of the command to build from the command line

<VS.net location> <.sln file locaion> /rebuildall /release

will rebuild all *ticked* projects in the solution. Is there a way to
build everything despite some projects not being ticked in the config
manager?

Thanks
 
M

Michael Nemtsev

Hello (e-mail address removed),

Nant for VS 2003 and MSBuild for VS 2005
I was wondering if it is possible to build all projects in a VS.net
solution from the command line without having to open the solution and
tick every project in the configuration manage?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
B

Blackstar

Thanks, except that we're using VS.net.

Michael said:
Hello (e-mail address removed),

Nant for VS 2003 and MSBuild for VS 2005

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
D

David Connet

You can build via tha command line of devenv with VS2003 - I believe the
same holds true with vs2002.

For instance:
devenv /build Release /out OutputFile.txt MySolution.sln
will build all the Release configurations in the solution and dump the
output into OutputFile.txt.

Dave Connet
Entelos, Inc.

(And with a plugin, you can do the same with VS6 - Microsoft has the
sample code on their site)
 
B

Blackstar

From my expereince that will build what ever is ticked in the
configuration manager and dump the output in OuputFile.txt yes, BUT I
need to rebuild EVERYTHING regardless of whether it is ticked in
configuation manager or not.

....

Thanks for the input Dave.
 

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