468,268 Members | 1,732 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Visual studio 2005

Hi,

I have a solution with many projects. I want to automate the process of
compilation , so i want to run the build process on command line. What
should i do for the same ? I have visual studio 2005 installed on my
PC.
Regards,
Sunil Virmani

Jun 1 '06 #1
5 1449
> I have a solution with many projects. I want to automate the process of
compilation , so i want to run the build process on command line. What
should i do for the same ? I have visual studio 2005 installed on my
PC.


You can do that using devenv:
Devenv SolutionName /build SolnConfigName [/project ProjName [/projectconfig
ProjConfigName]]Check MSDN for more details.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Jun 1 '06 #2
When we create a solution is there any default "SolnConfigName" created
?

Regards,
Sunil
Bruno van Dooren wrote:
I have a solution with many projects. I want to automate the process of
compilation , so i want to run the build process on command line. What
should i do for the same ? I have visual studio 2005 installed on my
PC.


You can do that using devenv:
Devenv SolutionName /build SolnConfigName [/project ProjName [/projectconfig
ProjConfigName]]Check MSDN for more details.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"


Jun 2 '06 #3
su*****@rediffmail.com wrote:
When we create a solution is there any default "SolnConfigName"
created ?


Yes, the default solution configurations are named "Debug" and "Release".

-cd
Jun 2 '06 #4


Oh sorry for silly question , i thought we need to specify some xml
file. Well i have just one more question . I have specified some build
order for the projects in the solution file . I have also specified
some post Build and pre-build event in that solution file. Will it be
able to run them also.In nut shell will whole building process will be
like replica of running the build process in the Visual Studio 2005
IDE.

Regards,
Sunil
Carl Daniel [VC++ MVP] wrote:
su*****@rediffmail.com wrote:
When we create a solution is there any default "SolnConfigName"
created ?


Yes, the default solution configurations are named "Debug" and "Release".

-cd


Jun 2 '06 #5
> Oh sorry for silly question , i thought we need to specify some xml
file. Well i have just one more question . I have specified some build
order for the projects in the solution file . I have also specified
some post Build and pre-build event in that solution file. Will it be
able to run them also.In nut shell will whole building process will be
like replica of running the build process in the Visual Studio 2005
IDE.


Yes.
AFAIK, /build is for all practical purposes identical to right clicking your
solution in solution explorer and selecting 'build'.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Jun 2 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Progman | last post: by
8 posts views Thread by WT | last post: by
1 post views Thread by Dr T | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.