Skip to content

Update to Windows App SDK 1.8#1012

Draft
michael-hawker wants to merge 1 commit intomicrosoft:winappsdk/mainfrom
michael-hawker:winappsdk/1.8
Draft

Update to Windows App SDK 1.8#1012
michael-hawker wants to merge 1 commit intomicrosoft:winappsdk/mainfrom
michael-hawker:winappsdk/1.8

Conversation

@michael-hawker
Copy link

  • Bump version to 1.4.0
  • Uses Microsoft.WindowsAppSDK.WinUI meta package only version 1.8.260204000
  • Removes explicit WebView2 dependency
  • Updates Microsoft.Windows.SDK.BuildTools to 10.0.28000.1-RTM
  • Updates CsWinRT to 2.2.0 and centralizes as build prop in WindowsAppSdk.common.props

I wasn't able to get the build script to run locally, seems like it's pinging an ADO that may not be turned on atm? Figured I could try at least creating the draft PR here and see what happens.

FYI @Sergio0694, think you may have helped with this the last time, so let me know if any of this looks weird or if you have tips on building the repo.

Fixes #1000, #998
Fixes microsoft/microsoft-ui-xaml#11002

This also moves from the whole WindowsAppSdk Package to just the WinUI package, which I think is the main requirement for Win2D? It also gets rid of the WebView2 package which is transitively included through WinUI. I assume was included here earlier to workaround prior migration issues in 1.6 but isn't actually required of Win2D.

- Bump version to 1.4.0
- Uses Microsoft.WindowsAppSDK.WinUI meta package only version 1.8.260204000
- Removes explicit WebView2 dependency
- Updates Microsoft.Windows.SDK.BuildTools to 10.0.28000.1-RTM
- Updates CsWinRT to 2.2.0 and centralizes as build prop in WindowsAppSdk.common.props
@benstevens48
Copy link

This won't work since the C++ projects require all the transitive dependencies to be added. However, you should be able to just update the nuspec file only and get rid of all the other changes. This relies on binary compatibility, which is discussed here - microsoft/WindowsAppSDK#6250 - I am pretty sure 1.8 will not have removed and APIs used by Win2D so it should be fine that Win2D is built against 1.6 but uses 1.8 for the runtime (and in fact no-one has thought to worry about this before). Alternatively, I have a full local build fix (including tests and docs) here - #1014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to WinAppSDK 1.8 Please update the WindowsAppSdk package version in Win2D.

2 participants