Visual studio 2005

S

sun_hcl

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
 
B

Bruno van Dooren

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
(e-mail address removed)
Remove only "_nos_pam"
 
S

sun_hcl

When we create a solution is there any default "SolnConfigName" created
?

Regards,
Sunil said:
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
(e-mail address removed)
Remove only "_nos_pam"
 
C

Carl Daniel [VC++ MVP]

When we create a solution is there any default "SolnConfigName"
created ?

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

-cd
 
S

sun_hcl

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,
 
B

Bruno van Dooren

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
(e-mail address removed)
Remove only "_nos_pam"
 

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