WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

[Problem/Bug]: WebView2 issue when nuget package used in WinForms project

Open ericstj opened this issue 8 months ago • 1 comments

What happened?

See https://github.com/dotnet/winforms/issues/13358 for details (or transfer the issue if you are able).

There's a bug in the WebView package in that it presents WPF assemblies to applications which do not use WPF, this leads to build warnings.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

1.0.3179.45

Framework

Winforms

Operating System

Windows 11

OS Version

No response

Repro steps

Reference Microsoft.Web.WebView2 in a .NET 8 winforms project

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

ericstj avatar Apr 26 '25 01:04 ericstj

@sivMSFT, @Navdeep-ss: Any updates here? This is seriously impacting a series of scenarios on Desktop, and I think fixing this shouldn't be as much of an effort?

KlausLoeffelmann avatar Sep 08 '25 17:09 KlausLoeffelmann