Experiment: Upgrade WASDK — 1.7 for net9, 1.8 WinUI subpackage for net10#3632
Draft
mattleibow wants to merge 2 commits intomainfrom
Draft
Experiment: Upgrade WASDK — 1.7 for net9, 1.8 WinUI subpackage for net10#3632mattleibow wants to merge 2 commits intomainfrom
mattleibow wants to merge 2 commits intomainfrom
Conversation
Upgrade SkiaSharp.Views.WinUI WASDK dependency from 1.4 to per-TFM versions: - net9.0-windows: Microsoft.WindowsAppSDK 1.7 (full metapackage, matches latest MAUI 9.0.100 workload) - net10.0-windows: Microsoft.WindowsAppSDK.WinUI 1.8 (subpackage, experimental) - Native C++/WinRT project: bumped to 1.7 (matches net9) This is experimental and not releasable until MAUI workloads ship with WASDK 1.8. The PR artifacts can be used to test compatibility. Relates to #3372 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4148315 to
0417bb9
Compare
Contributor
Author
Testing scenariosOnce CI artifacts are available, here's what needs to be tested: 1. Build verification (does the WinUI subpackage resolve everything?)
2. MAUI app integration (version conflict check)Create a .NET 10 MAUI app using the default template with
3. MAUI .NET 9 app (baseline check)Create a .NET 9 MAUI app with
4. Standalone WinUI app (no MAUI, direct SkiaSharp.Views.WinUI)Create a plain WinUI 3 desktop app:
5. Uno Platform appCreate an Uno Platform app targeting
|
The old CppWinRT 2.0.230706.1 (paired with WASDK 1.4) fails to generate WinRT projections against the WASDK 1.7 metadata. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade
SkiaSharp.Views.WinUIWASDK dependency from 1.4 with per-TFM versioning:Microsoft.WindowsAppSDKMicrosoft.WindowsAppSDK.WinUIThe
Microsoft.WindowsAppSDK.WinUIsubpackage only exists starting at 1.8. The VS-shipped MAUI workloads for both .NET 9 and .NET 10 (SDK band 9.0.100 manifest 9.0.120, SDK band 10.0.100 manifest 10.0.20) pin to WASDK 1.7. MAUI 10.0.40 moved to 1.8 but that's not in released workloads yet.This PR is experimental - the CI artifacts can be used to test compatibility. We can't release until MAUI ships a workload update on 1.8.
What we're testing
Microsoft.WindowsAppSDK.WinUIresolve all types SkiaSharp.Views.WinUI needs? (XAML controls, SwapChainPanel, SKXamlCanvas, etc.)Base,Foundation,InteractiveExperiences, andWebView2- we need to check these don't clash with what MAUI brings.IBuffer,IPropertySet).What
Microsoft.WindowsAppSDK.WinUIbrings inInstead of the full metapackage, it depends on:
Microsoft.Web.WebView2(>= 1.0.3179.45)Microsoft.WindowsAppSDK.BaseMicrosoft.WindowsAppSDK.FoundationMicrosoft.WindowsAppSDK.InteractiveExperiencesSkiaSharp only needs the WinUI XAML types - so this should be sufficient.
MAUI workload version research
Context
Relates to #3372 - request to reduce SkiaSharp.Views.WinUI dependency from the full
Microsoft.WindowsAppSDKmetapackage to just the WinUI piece.