Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Unable to load DLL 'WebWindow.Native' or one of its dependencies #109

Open
rex-pj opened this issue May 25, 2020 · 7 comments
Open

Unable to load DLL 'WebWindow.Native' or one of its dependencies #109

rex-pj opened this issue May 25, 2020 · 7 comments

Comments

@rex-pj
Copy link

rex-pj commented May 25, 2020

Hello, I run my application and I get an error like this.
image

OS: Windows 10 Pro Version 10.0.18363.836
Microsoft Edge Version 83.0.478.37 (Official Build) (64-bit)
WebWindow.Blazor version: 0.1.0-20200214.10

My app still works ok last week (22/05/2020), but today (25/05/2020) is not.

@eivarin
Copy link

eivarin commented May 26, 2020

yahhh..... ur not the only one.....
The thing is I don't even use the webwindow and webwindow native packages I just import the webwindow nugget package and it was working until recently.... i think something happened with the webview2 library or with edge chromium....

If anyone could help it would be awsome

@eivarin
Copy link

eivarin commented May 26, 2020

further investigated on this and found this issue in the webview2 feedback repo on github
here is the issue MicrosoftEdge/WebView2Feedback#203

@eivarin
Copy link

eivarin commented May 26, 2020

ok based on my previous comment I also found out that the beta channel isn't up to date and doesn't have the webview2 runtime which is needed to run webwindow.... one solution is to uninstall every other build of edge chromium, even the stable one, and install the dev or the canary version.... I think that their main purpose with this change is to make the webview2 runtime downloadable and installable in the future so that the user doesn't have to install edge chromium in his PC.

@SteveSandersonMS this could pose as a problem in the future as the webview2 package on the webwindow native will need to be updated when the webview2 becomes installable separately from edge chromium..... I currently have a working PR (#81) to update the webview2 to version 0.9.430 but I think this wouldn't be enough. At this point the webview2 package is already at the 0.9.515-prerelease. I mean, we could wait for the official release of webview2.... after all, the latest version is a prerelease.

I'm talking for myself but I really think that that team which you mentioned in #86 could be built if you don't have the time to do it (but I don't know, now that blazor wasm is officially released I don't know if you will be here more often). This already has 37 issues and 17 PR so idk.

@andtii
Copy link

andtii commented May 28, 2020

image
I dont get any exception its just blank screen. im running the samples on windows 10 it works if i load it in the browser directly. @SteveSandersonMS any way we can fix this?

@rex-pj
Copy link
Author

rex-pj commented May 29, 2020

Hi @eivarin in my case, for the issue of the "WebWindow.Native", that cause by I want to fix the blank page error before then I try a lot of solutions even uninstall the "Microsoft Visual C++ 2015-2019 Redistributable (X64)" and after I re-install it, my app was working again.

I downloaded and installed "Microsoft Visual C++ 2015-2019 Redistributable (X64)" from here

https://aka.ms/vs/16/release/vc_redist.x64.exe

And the blank page error it also fixed temporarily by installing the Edge Chromium DEV version.

So:

  • I installed the Edge Chromium DEV version (Version 84.0.522.5 dev (64-bit)) to fix the "blank page error".
  • I installed the "Microsoft Visual C++ 2015-2019 Redistributable (X64)" to solve the "WebWindow.Native" issue. (solved by installing it manually from https://aka.ms/vs/16/release/vc_redist.x64.exe, the step by installing Desktop development with C++ from Visual Studio was not helpful).

@eivarin
Copy link

eivarin commented May 29, 2020

could you mention this on #50 please @Delta-IT???
I think that issue is helpful for newcomers to this repo and that info could be useful there...

@wdcossey
Copy link

wdcossey commented Jul 5, 2020

I can confirm that you need Edge Chromium DEV from here to avoid the app crashing on startup.

Tested using VS 2019 16.6.3 and Edge 84.0.522.28

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

No branches or pull requests

4 participants