RE: "Rebuild all" from a command line?

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 05:28:35 GMT

Hi

First of all, I would like to confirm my understanding of your issue.
>From your description, I understand that you wants to use command line to
compile the vs.net solutions.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

We can use the devenv.exe to compile the solution.
Devenv Command Line Switches
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/ht
ml/vxgrfCommandLineSwitches.asp

The devenv.exe is located at the path below.
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe

Also we can retrieve the path from the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VS\VS7Environme
ntLocation
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe

We can use the WScript to do that.
HOWTO: Use the Windows Script Host to Read, Write, and Delete Registry Keys
http://support.microsoft.com/?id=244675

Please apply my suggestion above and let me know if it helps resolve your
problem.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • RE: Console Application Testing
    ... vbc.exe could be accessed in Visual Studio Command ... If you want to compile the project in command prompt with vbc.exe, ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Create my own batch file to compile ASP.NET assemblies
    ... You could use VS.NET in command line mode to compile a solution: ... the command line compiler options are well documented (I ... only I use Visual Studio .NET 2003, the rest are using older technologies ...
    (microsoft.public.dotnet.framework.aspnet)
  • newbee help....
    ... I need help with finding my command line compiler in VS.net 2003. ... -> Visual Studio.NET Tools -> Visual Studio .NET Command Prompt ... I'm just trying to compile a hello world example. ...
    (microsoft.public.dotnet.csharp.general)
  • Re: Problem in calling c programs and compiling them in tcl/tk
    ... Are you using Tcl's glob command to do this? ... using exec gcc filename.c and later exec ./a.out filename.c. ... the execution of a command that might generate a Tcl error. ... i can call a c program and compile it? ...
    (comp.lang.tcl)
  • Re: Upgraded Web Service from VS2003 to VS2005 and all Hell breaks
    ... Visual Studio 2005 Web Application Projects ... "Because the Web Application Project model uses the same conceptual ... My web service project doesn't even have a bin folder. ... When I compile in batch from Visual Build Pro, ...
    (microsoft.public.dotnet.framework.webservices)

Loading