MicrosoftEdge / MicrosoftEdge/WebView2Feedback

WebView2Loader.dll is still missing from App.Publish (Winforms, ClickOnce).

Open
#528 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

ClickOnce is still missing WebView2Loader.dll and the x86, x64 and arm64 directories containing the various version of WebViewLoader.dll. None of which are copied to the App.Publish sub-directories when I publish using ClickOnce.

According to 228, this was supposedly fixed in 0.9.628-prerelease. That issue report is now closed, hence why I am starting a new issue report (presumably that is what is expected?).

Versions tested:
SDK 0.9.628-prerelease
SDK 0.9.579-prerelease
both the above tested with and without the amendments to the Targets file mentioned in 431 and 228, but still the files are not copied to App.Publish when publishing with ClickOnce.

Runtime: Edge Canary and Edge WebView2 Runtime. I have tried with both/either installed.
Framework: WinForms
OS: Win10
Visual Studio 2019
Building and publishing in Release mode.
Platform Target: x86 (not been able to test x64 or Any CPU, because of other DLLs in my project that require x86)

Thanks for any help, I'm out of ideas.

AB#29816653

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

The issue names no source file or test entry point. Reproduce a Release WinForms ClickOnce publish with WebView2 SDK 0.9.628-prerelease and x86 targeting, then inspect the App.Publish output; done means WebView2Loader.dll and the x86, x64, and arm64 directories are copied there.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.