473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Build all from command line

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

Jul 31 '06 #1
5 2320
Hello gr*********@gmail.com,

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
Jul 31 '06 #2
Thanks, except that we're using VS.net.

Michael Nemtsev wrote:
Hello gr*********@gmail.com,

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
Aug 1 '06 #3
Sorry that was meant to say VS.net 2002.

Thanks

Blackstar wrote:
Thanks, except that we're using VS.net.

Michael Nemtsev wrote:
Hello gr*********@gmail.com,

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
Aug 1 '06 #4
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)
"Blackstar" <gr*********@gmail.comwrote in
news:11*********************@m73g2000cwd.googlegro ups.com:
Sorry that was meant to say VS.net 2002.

Thanks

Blackstar wrote:
>Thanks, except that we're using VS.net.

Michael Nemtsev wrote:
Hello gr*********@gmail.com,

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?
Aug 3 '06 #5
>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.
David Connet wrote:
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)
"Blackstar" <gr*********@gmail.comwrote in
news:11*********************@m73g2000cwd.googlegro ups.com:
Sorry that was meant to say VS.net 2002.

Thanks

Blackstar wrote:
Thanks, except that we're using VS.net.

Michael Nemtsev wrote:
Hello gr*********@gmail.com,

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?
Aug 4 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Hung Jung Lu | last post by:
Hi, Does anyone know whether there is any generic GUI-based build system around? (Python-based would be great. Also, for now I am only looking for Windows OS.) By "build system" I mean something...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
7
by: longtungd1 | last post by:
I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine. I set up a basic program per course instructions to simply create a window with default toolbar, etc., using App...
1
by: Grant Edwards | last post by:
I've been using the pylibpcap extension module for several years, but I can't get it to build under 2.4: $ python setup.py build /usr/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence'...
5
by: JCauble | last post by:
1. We have a web project that has a support dll that uses the following command: HttpContext.Current.Application.ToString(); 2. In our environment we must use a build process that runs from the...
1
by: AlexZh | last post by:
Hi, I'd like to stop command line build by one project build failed. To do that I've created simple AddIn (see code below), that works fine for IDE and does not work for command line. In the AddIn...
1
by: Michael Russell | last post by:
Hi all, Sorry for the repost, but I never received any response when I first asked this a few weeks ago. I would really appreciate some feedback on this, it's driving me nuts... I'm...
7
by: John Nagle | last post by:
Back in March, I posted this: That was for M2Crypto 0.17. It's still broken in M2Crypto 0.18. And there's no RPM or Windows binary. Nobody actually uses this stuff, do they?
4
by: Ronny | last post by:
I have a mixed solution -most of its projects are in C# and some are in C++?MFC. Problem is that when I compile the solution with batch build the MFC files end up wit compilation errors, but if I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.