New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Windows SDK 10.0.22000.0 #10869
base: main
Are you sure you want to change the base?
Conversation
@@ -24,12 +24,12 @@ export async function buildSolution( | |||
buildLogDirectory?: string, | |||
singleproc?: boolean, | |||
) { | |||
const minVersion = new Version(10, 0, 19041, 0); | |||
const minVersion = new Version(10, 0, 22000, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we keep 19041
as a minimum version?
@@ -90,8 +90,8 @@ protected async Task<(CodeAnalyzer, INamedTypeSymbol)> AnalyzeFileAsync(string c | |||
// of the unitest runners are allowed to pick up a variable from the build file. And given the many | |||
// ways one can run inttests, this seemed to be the most reasonable out of a lot of poor options. | |||
var win10SdkFolder = @"C:\Program Files (x86)\Windows Kits\10"; | |||
#if win10SdkVersion10_0_19041_0 | |||
var win10SdkVersion = "10.0.19041.0"; | |||
#if win10SdkVersion10_0_22000_0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this macro defined automatically?
@@ -61,7 +61,7 @@ $vsComponents = @('Microsoft.Component.MSBuild', | |||
'Microsoft.VisualStudio.Component.VC.Tools.x86.x64', | |||
'Microsoft.VisualStudio.ComponentGroup.UWP.Support', | |||
'Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core', | |||
'Microsoft.VisualStudio.Component.Windows10SDK.19041'); | |||
'Microsoft.VisualStudio.Component.Windows10SDK.22000'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is failing PR validation.
Do we need to apply an update to the build agent image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please hold on this, it's not as easy (or desirable) to just do a find-replace.
Sure thing. Reverting to draft for now. Is there a suggested sequence to carry this type of upgrade? |
Well, ideally we don't want to upgrade everyone unless there's some clear requirement. Since Desktop needs it, I think it would be easier to simply override the version when building the Desktop and leave UWP to default targeting 19041. We set the SDK versions in So I think what we want is for the Desktop projects to specify the new SDK version sometime before importing |
That is certainly an option. I figured it would be convenient to have both variants on the same SDK version. Given the min SDK version remains unchanged, what's the criteria to upgrade the target SDK version? |
Description
Upgrade to Windows SDK 10.0.22000.0
Type of Change
Why
ARM64EC requires Windows SDK version 10.0.22000.0 to correctly handle intrinsics includes.
See https://developercommunity.visualstudio.com/t/arm64ec-toolchain-doesnt-work/1460523\
Windows SDK 10.0.19041.0 does not ship
softintrin.h
, causing compilation errors on the affected platform.If there is no other specific need to use 10.0.19041.0, the upgrade will also reduce the dev dependency size.
What
Replaced references to Windows SDK version 10.0.19041.0 with version 10.0.22000.0.
Microsoft Reviewers: Open in CodeFlow