
pricerc wrote: I left a link to in the plugin description.


Mike.Sheen wrote:After installing the Microsoft Edge Webview2 Runtime on Windows Server 2019, I also found it silently fails if it doesn't have write permissions to the UserDataFolder passed to the CoreWebView2Environment.CreateAsync method AND you don't specify a folder for the UserDataFolder of the WebView2 controls CreationProperties.
If you configured also configured the CreationProperties.UserDataFolder with the same folder, only then does it produce an error relating to insufficient write permissions.
I thought I get away with just using the ProgramData folder - use the same folder as the plugin .dll itself - but that fails silently on Windows Server 2019 - works ok on Windows 10. I noted you used the LocalApplicationData folder, and when I changed to that, it worked on Windows Server 2019 as well.
I dislike things failing silently.
Anyway, you've given us another possibility for the next version - DEV-8922 was considering deploying the CEFSharp package as standard - but it looks like the Edge WebView2 is a cleaner solution and it also has some good resources for deployment - so for us to include the Microsoft Edge WebView2 Runtime when installing Jiwa should be easy.


Return to Technical and or Programming
Users browsing this forum: No registered users and 1 guest