-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the userData folder location configurable #201
Comments
Note that there is some precious info in this issue: MicrosoftEdge/WebView2Feedback#297
|
@jspuij @Eilon how about allow specific BrowserExecutableFolder, as Edge WebView2 be General Availability and support evengreen Evergreen distribution mode now! ref: |
@congzhangzh I don't think we ever want to support the fixed version distribution mode, as this will tie a webview2 application to a specific browser version. The evergreen version will always use the latest webview2 runtime. I don't think distribution of the runtime is part of the scope of MBB, but I'll have @Eilon weigh in on this. |
@jspuij I understand the good part of evergreen, but this really limit the scenarios of application deploy. single file deploy is really a great feature of dotnet core, if anypart must tie to os, single file deploy will not be so meaningful. |
I think for now evergreen is the main intended workflow. I am fine if there is some optional support for other modes but I think at this point they are less important and also complicate the testing matrix for Mobile Blazor Bindings. |
ok |
Fixed in #246 |
The userData folder is currently not specified while creating the environment for Edge on windows:
CoreWebView2Environment.CreateAsync().ConfigureAwait(true);
The userdata folder will be created in the working folder for the process. That might not be a writable directory (e.g. Program Files for an installed application). IT also seems that Rider does not change the working folder during debug, using it's own program files as working folder instead.
We could pass a sensible location somewhere inside (AppData->Local) probably and at least make it configurable.
The text was updated successfully, but these errors were encountered: