Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not install .Net WinForms 'Microsoft.Web.WebView2 0.8.190' #32

Closed
GarryLowther opened this issue Jul 19, 2019 · 2 comments
Closed
Labels
bug Something isn't working feature request feature request

Comments

@GarryLowther
Copy link

I created a .Net WinForms project is VS2017 and attempted to install Microsoft.Web.WebView2 but received an error:

webview-2-fail

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.

@david-risney david-risney added feature request feature request bug Something isn't working labels Jul 19, 2019
@david-risney
Copy link
Contributor

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.

@liminzhu
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request feature request
Projects
None yet
Development

No branches or pull requests

3 participants