picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.52k stars 319 forks source link

Failed to initialize WebView2 error message spelling #2641

Closed alfarok closed 2 months ago

alfarok commented 2 months ago

I was messing around with leveraging WebView2 in my Eto application and noticed this while attempting to get WebView2 to properly load.

I was getting this error due to Eto.Wpf.Forms.Controls.WebView2InitializationException: Failed to initialze WebView2 ---> System.UnauthorizedAccessException: Access is denied. which was caused by not setting an accesible cache location for WEBVIEW2_USER_DATA_FOLDER.

cwensley commented 2 months ago

I wonder if we should at least by default set a sensible location that is usually writable..