-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
IsolatedStorage doesn't work from Single-File application in 5.0 #42265
Comments
Tagging subscribers to this area: @agocke |
Mitigated by #42435 |
I am not seeing any difference in behavior. The above repro still throws NotSupportedException with today's (two hours old) master branch and 5.0 latest preview. |
Including passing the flag |
Yup, I tried publishing with a fresh local build of master: throws:
revision: $ strings /Users/am11/projects/runtime_base/.dotnet2/dotnet 2>&1 | grep Commit
@(#)Version 42.42.42.42424 @Commit: 30e643e2f2433055d6ed433af38a925ee657d4ad |
Looks like the 6.0 installer builds have been blocked for quite a while now. Testing locally, looks like CodeBase works appropriately in 5.0 RTM. |
@ericstj do we still want to merge the PR #42306 to main? Would we be interested in backporting it to 5.0 at some point? I ask because @agocke mentioned that #42435 was a mitigation, but not the actual fix. |
Yes merging to master is fine. We can service to 5.0 if anyone is blocked and can’t use the workaround. |
Hi. This occurs for me on 5.0.203. It's a WPF app, published via ClickOnce, single file, self-contained. System.NotSupportedException: CodeBase is not supported on assemblies loaded from a single-file bundle. |
Should be resolved in 6.0 |
Description
Create an app using IsolatedStorage. Publish as single file.
Configuration
.NET 5.0
Single file publish
Tested on win-x64 but should be present everywhere.
Regression?
Yes. Worked in 3.1
Regressed by #40974
Related #42161
The text was updated successfully, but these errors were encountered: