Re: How to do a build in the background with command prompt

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 03/22/05


Date: Tue, 22 Mar 2005 07:01:46 -0000

Zeng <Zeng5000@hotmail.com> wrote:
> I'm using C# .NET. Is there a way to do a build my project and solution
> with command prompt? I hope that while it's doing that, at least I can
> browse around the code instead of being stuck with un-responsive IDE during
> build started in IDE.

You can run devenv from a command prompt, eg

devenv MySolution.sln /build Debug

Just be warned that if you change code during a compile, you could end
up with "interesting" results :)

-- 
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Relevant Pages

  • Re: Rebuilding from command line /rebuild
    ... It's fairly easy to rebuild a solution file with devenv.exe: ... new Visual Studio Command Prompt in the ProcessStartInfo. ... > I read about devenv and /rebuild, ... > Would I run something from a command prompt using a process? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VS 2005 Beta2 command line build
    ... Hmm...looks like through my perl script it seems to wait for ... completion whereas the command prompt it didn't. ... >I am upgrading from VS6/eVC and have a custom auto-build script that I ... I did notice that devenv returns right away and spawns ...
    (microsoft.public.vsnet.general)
  • Re: Cannot open project properties
    ... I fixed it with "devenv /resetskippkgs" at the command prompt. ... "Michel Racicot" wrote in message ... Tried restarting and the problem is still there. ...
    (microsoft.public.vstudio.general)