-
Notifications
You must be signed in to change notification settings - Fork 331
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
Comments
We are working on that, but you can always set an explicit WebView2 package reference to override the one built-in to the WinAppSDK. |
I noticed that the nuget package of WinUI 2 has upgraded the minimum version of WebView2 dependency to 1.0.2849.39, and the minimum version of WebView2 dependency of Windows App SDK has not been improved, so I hope to fix this problem. ------------------------------------我注意到 WinUI 2 的 nuget 包已经将 WebView2 最低版本依赖升级到 1.0.2849.39 版本,Windows App SDK 的 WebView2 最低版本依赖没有提升,所以希望能修正一下这个问题。 |
Hi @Gaoyifei1011,
|
Thank you very much. Although it is possible to forcibly upgrade to the version suitable for Native AOT by manually installing the WebView2 Nuget package, I still hope that the Windows App SDK team can upgrade the WebView2 dependency to the version with minimum support for Native AOT. So as not to cause unnecessary trouble, especially for beginners -----------------------------------------------非常感谢。虽然说可以通过手动安装 WebView2 Nuget 包强行升级到适用于 Native AOT 的版本,但我还是希望 Windows App SDK 团队能够将 WebView2 依赖升级到最低支持 Native AOT 的版本,以免造成不必要的麻烦,尤其是对于初学者来说 |
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
WinUI 2
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
The text was updated successfully, but these errors were encountered: