-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Core] Windows - CustomApp - Operation is not valid due to the current state of the object. #2241
Comments
@agneszitte can you try running Windows as Packaged instead |
@nickrandolph I am having this when trying to run Windows as Packaged But it is not specific to the options used for this issue, I can reproduce it with a simple blank maui embedding app as well. |
@Darsh0307 now that #2244 (comment) is supposed to be fixed, can you re-test for this issue with latest stable packages + latest stable template to see if you are still able to reproduce the issue for Windows (Unpackaged) and to test Windows (Packaged) please. |
Message
Inner exception :- None Exception :- stack trace
|
Enviournment :- Templates :- Uno.Templates.5.3.0-dev.31.nupkg
|
The exception error is still same , even in the newest versions of 5.2 version.
|
@agneszitte / @Darsh0307 what's the status on this? |
@Darsh0307 I moved this to your list last week. Can you re-test it with latest dev versions to give us an update, please |
Sure @agneszitte , i will test this one. :) |
The error is still there with same exception mentioned and all. The App was created using CLi , The cli was |
This issue happens because uno.extensions/src/Uno.Extensions.Storage.UI/KeyValueStorage/ApplicationDataKeyValueStorage.cs Lines 14 to 15 in 74a945f
@nickrandolph haven't you built a file storage based version of this abstraction for this specific case? |
The storage issue with Application Data Key Value Storage has been occurring for a long time. The problem is this microsoft/WindowsAppSDK#2639 You have extended Settings why not use it here |
Current behavior
Operation is not valid due to the current state of the object
occurs when launching the app for Windows when creating an app with latest template 5.3.0-dev.19 and using:Equivalent to these options in the wizard: (expand to see)
Exception details to expand:
Expected behavior
No exception
How to reproduce it (as minimally and precisely as possible)
Create an app using these options with cli with latest template 5.3.0-dev.19:
Equivalent to these options in the wizard: (expand to see)
Try to launch the application for Windows
Notice the exception
Sample app used for the tests: TestCustomApp530dev19.zip
Environment
Affected platform(s):
Visual Studio:
The text was updated successfully, but these errors were encountered: