Skip to content

Conversation

@mink-ms
Copy link
Contributor

@mink-ms mink-ms commented May 29, 2025

The WinUI3 nuget's .pri file references WebView2Loader.dll which causes WebView2Loader.dll to be included into the appx package payload and breaks the build on consumer's end.

This is due to an old bug in the WV2 nuget, which happens to exist in the version that WinAppSDK pulls in. So adding an explicit dependency to WV2 with a newer version fixes this issue.

Verified by building & generating nupkg and inspecting the .pri file produced - no more WebView2Loader.dll!

@mink-ms mink-ms requested a review from aborziak-ms May 29, 2025 23:02
@aborziak-ms aborziak-ms merged commit dbea940 into main May 29, 2025
5 checks passed
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.

2 participants