Skip to content
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

Please update the WebView 2 dependencies of Windows App SDK and WinUI 2 to 1.0.2849.39 to adapt to Native AOT #4832

Open
Gaoyifei1011 opened this issue Oct 26, 2024 · 1 comment

Comments

@Gaoyifei1011
Copy link

Describe the bug

Please update the WebView 2 dependencies of Windows App SDK and WinUI 2 to 1.0.2849.39 to adapt to Native AOT

----------------------------------------

请将 Windows App SDK 和 WinUI 2 的 WebView 2 依赖包更新到 1.0.2849.39 以适配 Native AOT


Steps to reproduce the bug

The current version of WebView2 in the WinUI 2 Projection in the Windows App SDK and draft Github PR request is 1.0.2651.64, which does not adapt to Native AOT, and I hope that the next version of Windows App SDK and WinUI 2 can be upgraded to the version of WebView2 that has been adapted to Native AOT when it is released, so as to ease the use of WebView 2 by users controls.

----------------------------------------

目前的 Windows App SDK 和草稿 Github PR 请求中的 WinUI 2 Projection 中的 WebView2 的版本是 1.0.2651.64,这个版本没有适配 Native AOT,希望下一个 Windows App SDK 和 WinUI 2 版本发布时能升级到已经适配 Native AOT 的 WebView2 版本,减轻用户使用 WebView 2 控件时发生的意外错误。


Expected behavior

Hope that the next version of Windows App SDK and WinUI 2 can be upgraded to the version of WebView2 that has been adapted to Native AOT when it is released, so as to ease the use of WebView 2 by users controls.

----------------------------------------

希望下一个 Windows App SDK 和 WinUI 2 版本发布时能升级到已经适配 Native AOT 的 WebView2 版本,减轻用户使用 WebView 2 控件时发生的意外错误。


Screenshots

Windows App SDK
Image

WinUI 2
Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

Windows version

Windows 11 (22H2): Build 22621

Additional context


Refer link(参考链接)

microsoft/microsoft-ui-xaml#9976
https://www.nuget.org/packages/Microsoft.WindowsAppSDK/1.6.240923002

@RDMacLachlan
Copy link
Member

We are working on that, but you can always set an explicit WebView2 package reference to override the one built-in to the WinAppSDK.

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

No branches or pull requests

2 participants