We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c57246 commit afac9d6Copy full SHA for afac9d6
dev-build.bat
@@ -1,3 +1,19 @@
1
@echo off
2
-"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" build.proj
+
3
+for %%s in (
4
+ "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"
5
+ "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe"
6
+ "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe"
7
+) do (
8
+ if exist %%s (
9
+ echo %%s build.proj
10
+ %%s build.proj
11
+ goto :done
12
+ )
13
+)
14
15
+:notfound
16
+echo Could not find MSBuild.exe. Make sure Visual Studio 2017 is installed and try again.
17
18
+:done
19
pause
0 commit comments