You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow white spaces in the resource dictionary keys #2471
the uno project fails to compile the following generated code:
// Source ..\..\..\..\..\..\..\MainDemo.Uno.Shared\Themes\MaterialDesignColor.BlueGrey.Named.xaml (Line 3:4)
public static global::Windows.UI.Color Blue GreyPrimary50 { get; } =
Windows.UI.ColorHelper.FromARGB(255, 236, 239, 241) ;
Expected behavior
resource dictionary keys should be able to contain white spaces, and the generated code should be able compile accordingly with some escape character as UWP does
Activity
davidjohnoliver commentedon Jan 13, 2020
Thanks for the report!
This will probably be fixed by #1766, since resource entries are no longer converted to static properties (with attendant naming restrictions).
davidjohnoliver commentedon Sep 23, 2020
I verified that this works properly with Uno 3.0. 3e4d1aa