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

webview2 not loading webpages. #537

Closed
junkse7en opened this issue Oct 14, 2020 · 7 comments
Closed

webview2 not loading webpages. #537

junkse7en opened this issue Oct 14, 2020 · 7 comments

Comments

@junkse7en
Copy link

junkse7en commented Oct 14, 2020

Hi,

I am developing a wpf app using webview2.
I am using the latest version of visual studio and the latest version of webview2, with the latest canary build of edge installed.

First issue I had was that 'await webView.EnsureCoreWebView2Async(null);' never completed. I then tried loading 'https://www.microsoft.com' using source. That did not work, leaving me with an off-white screen.

While trouble shooting, I have built the example program, following the steps in getting started (https://docs.microsoft.com/en-gb/microsoft-edge/webview2/gettingstarted/wpf). By the end of step 3, I built the app, only to get a grey screen. The app did not display the web page.

In regard to my actual program in development. Webview2 worked perfectly yesterday, when I shut things down for the evening. I booted up today, without changing a line of code, and it did not work.

I have tried cleaning the project and rebooting. I have tried uninstalling webview2 and reinstalling it. I have tried reinstalling Edge canary.

I hope this can be resolved. Please let me know if you need any further information.

Kind regards.

@DomenicoFormoso
Copy link

DomenicoFormoso commented Oct 14, 2020

What version of canary are you working? I had the same problem after updating canary to latest version.

@junkse7en
Copy link
Author

I'm working with version 88.0.671.0 (Official build) canary (64-bit).

@champnic
Copy link
Member

Thanks for the report, we're using #535 to track this issue and hopefully have a fix soon. In the meantime, please use Dev, Beta, or WebView2 Runtime as those update on a slower cadence.

@junkse7en
Copy link
Author

Thanks for the tip. I can confirm that the work around of using the dev build has worked.

@jorensanbar
Copy link

If I do the configuration for development, when I publish the application, then the users will not be able to use it, because they are in Canary?

@champnic
Copy link
Member

@jorensanbar Can you expand a bit on your question?

When you deploy your app to users, you should be using the stable WebView2 Runtime, not Canary/Dev/Beta.

@jorensanbar
Copy link

When you deploy your app to users, you should be using the stable WebView2 Runtime,

I already did the test, the development with this tool is very easy, using EDGE DEV, and the latest version of WebView2.
It works perfectly with users' PCs.

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

4 participants