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
I have a .NET Framework 4.8 Solution that uses WebView2. We updated the nuget package to 1.0.2739.15 and now when I build the software I am getting the following warnings in the Error List
Severity Code Description Project File Line Suppression State Details
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.Wpf.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.WinForms.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.Core.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll' could not be found. KHFramework
Since our Solution targets .NET Framework 4.8 I'm not sure why these warnings should be relevant and they should therefore not appear. The software appears to work fine after building but we don't want to simply ignore warnings.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
128.0.2739.42
SDK Version
1.0.2739.15
Framework
WPF
Operating System
Windows 11
OS Version
No response
Repro steps
As far as I can tell this just requires a .NET Framework 4.8 Solution that uses WebView2. When you build it these warnings appear. The resulting software seems to work fine so it doesn't seem to affect end users but unnecessary warnings clutter the "error list" and this might lead to us missing something that's important so if something can be done to remove these warnings I would appreciate it.
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:
Hi @rozeboosje , thank you for reporting the issue. It seems related to #4743 which has been fixed and I have provided the internally built SDKs to the chat. Can you please try checking whether you can repro the problem with 1.0.2805 and/or 1.0.2805-prerelease?
At the moment in the nuget package manager the latest prerelease available to me is 1.0.2783-prerelease so it looks like I cannot install 1.0.2805 just yet?
It seems like you need to make sure you set the sources to local folder where you downloaded the nuget files. You navigate to your project in the Solution Explorer, right click on the solution -> Manage Nuget Packages... On the top-right side change the Package Source to point to the local folder where you downloaded the file (and renamed it). Maybe this page can help https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio
What happened?
I have a .NET Framework 4.8 Solution that uses WebView2. We updated the nuget package to 1.0.2739.15 and now when I build the software I am getting the following warnings in the Error List
Severity Code Description Project File Line Suppression State Details
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.Wpf.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.WinForms.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\netcoreapp3.0\Microsoft.Web.WebView2.Core.dll' could not be found. KHFramework
Warning The referenced component '.nuget\packages\microsoft.web.webview2\1.0.2739.15\build..\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll' could not be found. KHFramework
Since our Solution targets .NET Framework 4.8 I'm not sure why these warnings should be relevant and they should therefore not appear. The software appears to work fine after building but we don't want to simply ignore warnings.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
128.0.2739.42
SDK Version
1.0.2739.15
Framework
WPF
Operating System
Windows 11
OS Version
No response
Repro steps
As far as I can tell this just requires a .NET Framework 4.8 Solution that uses WebView2. When you build it these warnings appear. The resulting software seems to work fine so it doesn't seem to affect end users but unnecessary warnings clutter the "error list" and this might lead to us missing something that's important so if something can be done to remove these warnings I would appreciate it.
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: