Visual studio 2005

  • Thread starter Thread starter sun_hcl
  • Start date Start date
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
 
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"
 
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"
 
When we create a solution is there any default "SolnConfigName"
created ?

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

-cd
 
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,
 
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"
 
Back
Top