MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: Duplicate WebView2Loader.dll is heavily output

Open
#4,837 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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)
{E95F98B1-6B39-467A-8BB2-AF732D7E823C}

runtime 目录(Runtime Folder)
{71D3DE10-0A70-4AFC-9876-EB82AE8204B2}

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No reproduction steps, files, tests, or entry points are provided. Start by examining a Windows App SDK 1.6 Native AOT publish using Microsoft.Web.WebView2 1.0.2839-prerelease and compare the root and runtime output directories; done means identifying why WebView2Loader.dll is emitted repeatedly and confirming the corrected publish output.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.