Re: Rebuilding from command line /rebuild
- From: "Michael Höhne" <michael.hoehne@xxxxxxxxxxxxx>
- Date: Tue, 13 Dec 2005 19:36:21 +0100
It's fairly easy to rebuild a solution file with devenv.exe:
devenv "FullPath\Solution.sln" /rebuild release
However, you need to set the environment variables as found when starting a
new Visual Studio Command Prompt in the ProcessStartInfo. I think it's much
easier to create a .bat file on the fly and start this instead of doing it
all from code.
Michael
"Dyl" <mosdef_underground@xxxxxxxxx> schrieb im Newsbeitrag
news:1134497988.491365.208160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I am trying to use an executable which when an option is clicked, it
> goes out and rebuilds a .sln file.
>
> I read about devenv and /rebuild, but I am still confused.
>
> Would I run something from a command prompt using a process?
>
> Any help would be appreciated, if you could give an example that would
> help a lot.
>
> Thanks!
>
.
- References:
- Rebuilding from command line /rebuild
- From: Dyl
- Rebuilding from command line /rebuild
- Prev by Date: combobox problem
- Next by Date: Re: C# and VB.Net?
- Previous by thread: Rebuilding from command line /rebuild
- Next by thread: Re: Rebuilding from command line /rebuild
- Index(es):
Relevant Pages
|
Loading