How to set properly the UserDataFolder in WPF #4018
Replies: 3 comments
-
@RicardPG-Vintra Thanks for reaching out. May you also let us know which version of operating system you are using? And the runtime version is also v1.0.1518.46? |
Beta Was this translation helpful? Give feedback.
-
Sure. I'm using Windows 10 pro. For the runtime thing, is quite dark for me.. I have 109.0.1518.78 installed yesterday for the WebView2 Runtime. I installed the latest version available of the canary (Versión 112.0.1667.0). But, the Thanks! |
Beta Was this translation helpful? Give feedback.
-
The default channel search order is the WebView2 Runtime, Beta, Dev, and Canary. When an override WEBVIEW2_RELEASE_CHANNEL_PREFERENCE environment variable or applicable releaseChannelPreference registry value is set to 1, the channel search order is reversed.
This code should be added before GetAvailableBrowserVersionString. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to set up the WebView2 in my project. I'm creating a dll that its going to be emmbeded on another APP (C#/WPF) as a "plugin". For permissions reason I'm getting an error, and it's loading a black screen.
So, I need to specify the UserDataFolder.. after checking how to do it I fond this:
None of the proposed ways from docs seems not taking any effect. Here my current code:
Also reviewed the https://github.com/MicrosoftEdge/WebView2Samples/tree/1710d535e895ed9c24196c5482e990e10d7285c7/SampleApps/WebView2WpfBrowser repo, and nothing related there.
I would appreciate if someone could provide a way to configure properly the Edge using WebView2.
Thanks!
NOTE: I'm using WebView2 v1.0.1518.46
Beta Was this translation helpful? Give feedback.
All reactions