maui
maui copied to clipboard
Updating to .NET MAUI 6.0.486 clears Preferences to Type Defaults on WinUI
Description
As described in the title, and more details here.
This is also confirmed (in same link provided) by a Microsoft employee who answered a question relating to the issue.
Steps to Reproduce
No coding steps are relevant here for reproduction.
Simply update to Maui 6.0.486 with Visual Studio ver 17.3.0 Preview 6.0.
No similar issues with version 6.0.419 and previous.
Version with bug
6.0.408 (current)
Last version that worked well
6.0.400
Affected platforms
Windows
Affected platform versions
Windows 10 SDK
Did you find any workaround?
Yes, but would be messy. The issue is that of settings supposed to be persisted being not persisted which can have serious consequences.
This may also affect?? SecureStorage secrets based on Preferences?? but I haven't checked this one.
Relevant log output
No response
https://github.com/dotnet/maui/commit/8bbb7cb9f0f12e9c0899193a9cc220e7a4d48afb
I'm guessing this commit introduced the problem.
Duplicate of #9338 and fixed with #9361