SteveSandersonMS / WebWindow

.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
Apache License 2.0
1.99k stars 214 forks source link

Sample not working #42

Closed evilz closed 4 years ago

evilz commented 4 years ago

I got this message :

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at WebWindows.WebWindow.WebWindow_NavigateToUrl(IntPtr, System.String)
   at WebWindows.WebWindow.WebWindow_NavigateToUrl(IntPtr, System.String)
   at WebWindows.WebWindow.NavigateToUrl(System.String)
   at WebWindows.WebWindow.NavigateToLocalFile(System.String)
   at HelloWorldApp.Program.Main(System.String[])

OS : Win10 (1809) dotnet : 3.0.100

Dotneteer commented 4 years ago

The same here.

apavelm commented 4 years ago

the same for me. even if using NavigateToString("<h1>Test</h1>");

vvollers commented 4 years ago

On windows you have to install Edge Beta from here https://www.microsoftedgeinsider.com/en-us/ .

This is because underwater it uses WebView2 ( https://docs.microsoft.com/en-us/microsoft-edge/hosting/webview2 )

evilz commented 4 years ago

👍 😍