diff options
Diffstat (limited to 'main/winbuild.bat')
-rw-r--r-- | main/winbuild.bat | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/winbuild.bat b/main/winbuild.bat index dec63ce9d9..805ac02907 100644 --- a/main/winbuild.bat +++ b/main/winbuild.bat @@ -1 +1,7 @@ -"%WinDir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" Main.sln /m /p:Configuration=DebugWin32 /p:Platform="Any CPU"
+set filename=%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe
+
+if not exist "%filename%" (
+ set filename=%WinDir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
+)
+
+"%filename%" Main.sln /m /p:Configuration=DebugWin32 /p:Platform="Any CPU"
|