-
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
IsolatedStorageFile.GetUserStoreForApplication throws "Initialization failed." on net6.0-android #52332
Comments
Tagging subscribers to this area: @carlossanlop Issue DetailsDescriptionCall
ConfigurationThis is running with net6.0-android. Works with MonoAndroid and on some other platforms. Regression?This works on non-net6.0 Android. Other informationOriginal issue: dotnet/android#5705
|
The issue here is that in an Android application there's no assembly with a runtime/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs Lines 45 to 53 in 01b7e73
|
@akoeplinger should we move it to 7.0? |
Unless there's a solution to a null |
Android doesn't set an entry assembly so we need to handle that case. Fixes dotnet#52332
Android doesn't set an entry assembly so we need to handle that case. Fixes #52332
Description
Call
IsolatedStorageFile.GetUserStoreForApplication()
and observe an exception:Configuration
This is running with net6.0-android. Works with MonoAndroid and on some other platforms.
Regression?
This works on non-net6.0 Android.
Other information
Original issue: dotnet/android#5705
The text was updated successfully, but these errors were encountered: