Home All Groups Group Topic Archive Search About

Command Line Compailation

Author
22 Aug 2006 11:18 AM
Sathiamoorthy
Hi,

My Vb.net solution file contain 3 projects. There are Client ,Business
Logic, Data Access.
I want to compail my total solution  from command line.
Can any one help me for this.
--
Regards,
R.Sathiamoorthy

Author
22 Aug 2006 12:11 PM
Patrice
AFAIK :

- in VS.NET 2003, you'll have to call the command line compiler with the
appropriate options duplicated from your project settings (some coordination
is done by VS before calling the compiler). See the doc for the command line
compiler.

- for VS 2005 see the documentation for the "MsBuild" tool (i.e. the
compilation process is external to VS and MsBuild is able to compile a whole
project file from the command line).

--
Patrice

"Sathiamoorthy" <some***@microsoft.com> a écrit dans le message de news:
OhOh6ydxGHA.4***@TK2MSFTNGP04.phx.gbl...
Show quote
> Hi,
>
> My Vb.net solution file contain 3 projects. There are Client ,Business
> Logic, Data Access.
> I want to compail my total solution  from command line.
> Can any one help me for this.
> --
> Regards,
> R.Sathiamoorthy
>
>
Author
22 Aug 2006 2:06 PM
Carl Daniel [VC++ MVP]
Sathiamoorthy wrote:
> Hi,
>
> My Vb.net solution file contain 3 projects. There are Client ,Business
> Logic, Data Access.
> I want to compail my total solution  from command line.
> Can any one help me for this.

For VS 2002 - 2005, you can use devenv.exe from the command-line to build
your project.

Just open a "Visual Studio Command Prompt" and type

devenv /?

to get a list of the command-line options.  this works across all languages
and all project types, including deployment projects and C++ projects
(neither of which are understood by MSBuild).

-cd

AddThis Social Bookmark Button