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

What To do After successful build? How To use it in WinForms? #51

Open
khalidalmannai opened this issue Jul 4, 2020 · 3 comments
Open

Comments

@khalidalmannai
Copy link

Hello Everyone,

First thank you for this package..

Sorry for my naïve question, but after successful build how to use the component in a windows form.

I tried run button nothing happened and this is the output

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

Windows 10

My Visual Studio is:
Microsoft Visual Studio Community 2019
Version 16.6.2

Regards,

@hez2010
Copy link
Contributor

hez2010 commented Jul 6, 2020

It's a Universal Windows Component and it's designed for UWP, I'm afraid that you may be not able to use it in WinForms for now.
Maybe you can use it after WinUI 3.0 released out?

@khalidalmannai
Copy link
Author

Got It..

Thank you

@hawkerm
Copy link
Owner

hawkerm commented Jul 8, 2020

Thanks for the interest @khalidalmannai, @hez2010 is right this is currently just a UWP component. I'll eventually migrate it to WinUI3 which then can be used in Win32 C# Desktop applications. Since WebView2 should support more environments at that point (which means it could work in WPF/WinForms where WebView2 works as well), I may try and generalize it a bit more as well, but I haven't gotten that far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants