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

Webview 2 doesn't load but triggering targeted platform (to x64 and back again) change made it work #1473

Closed
kennzhang opened this issue Jun 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kennzhang
Copy link

Hi,
Webview 2 seems to be missing when window is shown, and it failed to load. However changing the targeted platform and back again somehow kicked it off.
This happens on both winforms and wpf applications.
Webview version 1.0.864.35
Dot net 4.8
Interestingly if I regressed back to version 1.0.705.50 it would work
So the workaround is to change the targeted platform and it'll trigger something within webview 2 to kick the system to work

@kennzhang kennzhang added the bug Something isn't working label Jun 30, 2021
@champnic
Copy link
Member

champnic commented Jul 7, 2021

Hey @kennzhang - I believe the PlatformTarget property has to be set in the project files, which might be why switching targets and back is fixing the issue. We are tracking a fix for this in #730 which has a similar behavior and fix. Thanks!

@champnic champnic closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants