dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

Fall back to loading .NET 8 date strings #26033

Open mattleibow opened 6 hours ago

mattleibow commented 6 hours ago

Description of Change

This has to do with the different implementations of the preferences API on Windows depending on packaged or unpackaged.

The implementation differs:

The real change comes in at #22815 where that PR had this line: https://github.com/dotnet/maui/pull/22815/files#diff-6ed591e38dc7754551705bf5bb96f992115c384d19166e8dcda76267e177fb0cR196-R197

In .NET 8 everything was a "ToString" system for unpackaged. In .NET 9 there is now a ToBinary.

Issues Fixed

Fixes #25930