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

Published by

Varun Krish

Varun Krish has been dabbling with computers and websites for almost 2 decades. He has traveled to over 30 countries and hopes to visit every country on earth one day. He is currently the Editor-in-Chief of FoneArena.com and also advises startups and product companies on how to build better products. You can follow him on @varunkrish

Leave a Reply

Your email address will not be published.