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 created a .Net WinForms project is VS2017 and attempted to install Microsoft.Web.WebView2 but received an error:
Could not install package 'Microsoft.Web.WebView2 0.8.190'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
The text was updated successfully, but these errors were encountered:
We don't yet directly support integration with WinForms or .NET. If you want to try it in .NET you'd need to pinvoke. Although I'm surprised that you're unable to add the package in order to then create pinvokes.
I've marked this feature request for the .NET / WinForms support, and bug for not being able to install the package to even attempt to add pinvokes.
Hey @TriSysBusinessSoftware we've fixed the issue in the latest release, now you can install the package in .net projects. Let us know if you have more questions/requests!
I created a .Net WinForms project is VS2017 and attempted to install Microsoft.Web.WebView2 but received an error:
Could not install package 'Microsoft.Web.WebView2 0.8.190'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
The text was updated successfully, but these errors were encountered: