You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the Windows App SDK version 1.6, I need to install the Microsoft.Web.WebView2(1.0.2839-prerelease) Nuget package to support Native AOT, However, when the application was released in Native AOT, it was found that the output directory had repeated WebView2Loader.dll output. I hope to fix this problem.
The webview nuget package is completely bonked. It's deploying the native runtimes as content while also relying on the runtimes folder's auto-deploy. That's probably why you get duplicate copies, but even worse yet, when using the windowsappsdk in a class library nuget package, it'll break that nuget package, because it detects the "content" into the PRI resource file, and trying to reference this nuget package now fails because it yet-again wants to copy the webview2loader, but in this case it won't get included in the new nuget package and thus fails to build completely.
Duplicate WebView2Loader.dll is heavily output
-------------------------------------
重复的 WebView2Loader.dll 被大量输出
When I use the Windows App SDK version 1.6, I need to install the Microsoft.Web.WebView2(1.0.2839-prerelease) Nuget package to support Native AOT, However, when the application was released in Native AOT, it was found that the output directory had repeated WebView2Loader.dll output. I hope to fix this problem.
-------------------------------------
当我使用了 Windows App SDK 1.6 版本时,需要安装 Microsoft.Web.WebView2(1.0.2839-prerelease) Nuget 包以支持 Native AOT,然而在以 Native AOT 发布应用时,发现输出目录有重复的 WebView2Loader.dll 被输出,希望能修复一下这个问题。
根目录(Root Folder)
runtime 目录(Runtime Folder)
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
130.0.2849.5
SDK Version
1.0.2839-prerelease
Framework
WinUI3/WinAppSDK
Operating System
Windows 11
OS Version
26100.1843
Repro steps
None
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: