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 107
107
<!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
108
108
<_RegistryVersion Condition =" $(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))" >$(_RegistryVersion).0</_RegistryVersion >
109
109
110
+ <!-- Avoid upgrading to Windows 11 SDK for now, but assume the latest Win10 SDK is installed -->
111
+ <_RegistryVersion Condition =" $([System.Version]::Parse($(_RegistryVersion))) >= $([System.Version]::Parse(`10.0.22000.0`))" >10.0.19041.0</_RegistryVersion >
112
+
110
113
<!-- The minimum allowed SDK version to use for building -->
111
114
<DefaultWindowsSDKVersion >10.0.10586.0</DefaultWindowsSDKVersion >
112
115
<DefaultWindowsSDKVersion Condition =" $(_RegistryVersion) != '' and $([System.Version]::Parse($(_RegistryVersion))) > $([System.Version]::Parse($(DefaultWindowsSDKVersion)))" >$(_RegistryVersion)</DefaultWindowsSDKVersion >
You can’t perform that action at this time.
0 commit comments