File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1+ Avoid building with the Windows 11 SDK previews automatically. This may be
2+ overridden by setting the ``DefaultWindowsSDKVersion `` environment variable
3+ before building.
Original file line number Diff line number Diff line change 106106 <!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
107107 <_RegistryVersion Condition =" $(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))" >$(_RegistryVersion).0</_RegistryVersion >
108108
109+ <!-- Avoid upgrading to Windows 11 SDK for now, but assume the latest Win10 SDK is installed -->
110+ <_RegistryVersion Condition =" $([System.Version]::Parse($(_RegistryVersion))) >= $([System.Version]::Parse(`10.0.22000.0`))" >10.0.19041.0</_RegistryVersion >
111+
109112 <!-- The minimum allowed SDK version to use for building -->
110113 <DefaultWindowsSDKVersion >10.0.10586.0</DefaultWindowsSDKVersion >
111114 <DefaultWindowsSDKVersion Condition =" $([System.Version]::Parse($(_RegistryVersion))) > $([System.Version]::Parse($(DefaultWindowsSDKVersion)))" >$(_RegistryVersion)</DefaultWindowsSDKVersion >
You can’t perform that action at this time.
0 commit comments