Skip to content

Commit b14c5a2

Browse files
committed
Build.bat: loosen Windows SDK checks
Since we now build with the latest installed Windows SDKs (whilst still enforcing a minimum API compatibility), we can delete this check for a specific Windows SDK installation. Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
1 parent 16f692b commit b14c5a2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/Build.bat

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ SET VSWHERE_VER=2.6.7
4646
"%NUGET_EXEC%" install vswhere -Version %VSWHERE_VER% -OutputDirectory %VFS_PACKAGESDIR% || exit /b 1
4747
SET VSWHERE_EXEC="%VFS_PACKAGESDIR%\vswhere.%VSWHERE_VER%\tools\vswhere.exe"
4848

49-
REM Assumes default installation location for Windows 10 SDKs
50-
IF NOT EXIST "C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0" (
51-
ECHO ERROR: Could not find Windows 10 SDK Version 16299
52-
EXIT /B 1
53-
)
54-
5549
REM Use vswhere to find the latest VS installation with the MSBuild component
5650
REM See https://github.com/Microsoft/vswhere/wiki/Find-MSBuild
5751
FOR /F "tokens=* USEBACKQ" %%F IN (`%VSWHERE_EXEC% -all -prerelease -latest -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\amd64\MSBuild.exe`) DO (

0 commit comments

Comments
 (0)