-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
PowerToys doesn't compile with SDKs higher than 10.0.18362.0 #1907
Comments
Hi @riverar |
Sample from 381 compile errors:
|
We'll investigate it, but it's strange since the whole team is building it using 10.0.18362.0. |
@enricogior Right, these errors appear when using SDKs versioned higher than 10.0.18362.0. |
OK, so we will set for now 10.0.18362.0 as max target, thanks for pointing it out. |
@enricogior, we'll have to do this shortly. While i do enjoy ribbing Raf, he is correct here. We'll have to get the project to working with the Win10 2004 SDK. Lemme see what the status of that is. |
I performed a dry run and ... it's going to take a bit of work to move the project to cppwinrt 2.0 in the new Windows 10 SDK. To avoid stressing everyone out, I suggest this upgrade path:
|
Thanks for reporting this, we might even get away with updating to cppwinrt 2.0 as part of this, since we don't use it extensively, and I suspect most of those errors are caused by a single |
@riverar |
Hey @enricogior! It wasn't too bad. Mainly just needed to go around to all the pch files and add I have a branch compiling with cppwinrt 2.0 from 19592 SDK. Let me wire up the cppwinrt nuget tomorrow (Monday) then I'll hand it to you and the team. |
@riverar |
Got delayed as I hit a few cppwinrt snags. #2246 has the goods. Will figure out how to run the tests tomorrow morning (Monday). |
@riverar |
Merged, thanks @riverar! |
PowerToys is configured to always build using the very latest SDK but doesn't actually seem to support the cppwinrt bundled with Windows 10 SDK 10.0.18362.0 or higher. (I also tried 10.0.19592.0).
I understand these SDKs are beyond vCurrent but a few points:
The text was updated successfully, but these errors were encountered: