@echo on rem setlocal set casa_root_dir=%cd% rem Do a free (retail) build setlocal call "C:\Program Files (x86)\Microsoft Visual Studio 2005\VC\bin\amd64\vcvarsamd64.bat" x86_amd64 rem VS 2005 crashed when building solution file, so right now building project level. rem Also, it has the same problem with rebuild option, so I am cleaning binaries in my scripts. cd /d %casa_root_dir% devenv authclient.sln /build "Release|Win32" devenv authclient.sln /build "Release|x64" endlocal