We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7876a63 commit 611689aCopy full SHA for 611689a
build.cmd
@@ -12,7 +12,12 @@ if not "%BuildBranch%"=="" (
12
)
13
14
if "%VisualStudioVersion%"=="" (
15
- set VisualStudioVersion=15.0
+ if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\" (
16
+ set VisualStudioVersion=15.0
17
+ )
18
+ if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\" (
19
+ set VisualStudioVersion=16.0
20
21
22
23
:: Allow running `build SomeTask` instead of `build -t SomeTask`
@@ -23,4 +28,4 @@ if "%_Add-t%"=="1" (
28
.paket\fake.exe run build.fsx -t %*
24
29
) else (
25
30
.paket\fake.exe run build.fsx %*
26
-)
31
+)
0 commit comments