sbarnby71
sbarnby71

Reputation: 37

Missing lib_manual references when using WebView2

I have a C# Class Library that is using the 4.8 .Net Framework, within that I have a Windows Form that I want to use the WebView2 control on. When I add the latest stable version (1.0.2651.64) via NuGet, this includes the following:

I can add the WebView2 control to the form and interact as required.

However when I save the Project and close it, then re-open it I get 4 missing references:

I can't figure why these references would be needed when I have correct References to:

I've deleted the missing references, re-compiled, no issues, save it, no problems. Closed the Project, then re-open and the missing references re-appear.

I've tried creating projects under mapped drives, also on my C drive and under C:\Users\ and all with the same problem.

I'm using VS2022 and running as Admin.

Any suggestions?

Upvotes: 0

Views: 187

Answers (1)

sbarnby71
sbarnby71

Reputation: 37

The issue is caused by the continued flaky implementation of this Control. This issue has happened a number of times before in "stable" builds, see https://github.com/MicrosoftEdge/WebView2Feedback/issues/1722

I downgraded to the previous stable build of 1.0.2592.51 and the issue goes away.

Upvotes: 0

Related Questions