Closed ArchieCoder closed 2 weeks ago
The exception is thrown:
Cannot find a Resource with the Name/Key ActionBackgroundBrush [Line: 21 Position: 21]
Resource should be found
Run the app using WinAppSDK target UnoStyle.zip
It works with Desktop / Skia
No response
None
Windows (WinAppSDK)
Visual Studio 2022
Latest VS Code
@kazo0 Pointed me to this bug from Microsoft. Adding a dummy resource fixes the bug.
https://stackoverflow.com/questions/44266369/xaml-resourcedictionary-not-loading-correctly-with-a-single-keyset
@kazo0 Pointed me to this bug from Microsoft. Adding a dummy resource fixes the bug. stackoverflow.com/questions/44266369/xaml-resourcedictionary-not-loading-correctly-with-a-single-keyset
stackoverflow.com/questions/44266369/xaml-resourcedictionary-not-loading-correctly-with-a-single-keyset
@jeromelaban, @kazo0 not sure if Microsoft has a proper issue opened for this lately. All the previous links mentioned here and here are not working anymore.
Maybe it is worth to ping them in the WinDev discord server.
Current behavior
The exception is thrown:
Cannot find a Resource with the Name/Key ActionBackgroundBrush [Line: 21 Position: 21]
Expected behavior
Resource should be found
How to reproduce it (as minimally and precisely as possible)
Run the app using WinAppSDK target UnoStyle.zip
It works with Desktop / Skia
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Windows (WinAppSDK)
IDE
Visual Studio 2022
IDE version
Latest VS Code
Relevant plugins
No response
Anything else we need to know?
No response