VarunKrish

Building a Visual Studio solution without opening Visual Studio

MS Visual studio is a real memory hog. Any developer would crib about that. I just don’t want to open one instance of the IDE for each project. This cool code which you see below is a batch file which builds the solution for you and shows the result of the same.

C:
CD \Program Files\Microsoft Visual Studio 8\VC
call vcvarsall.bat
devenv C:\projects\MySolution.sln /build
pause

Exit mobile version