Build all from command line

  • Thread starter Thread starter graham.king
  • Start date Start date
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
 
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
 
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
 
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)
 
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.
 
Back
Top