Visual Studio can not find ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}" in design time
Describe the bug
in design time i have the message Dynamics ressource not found, but it works when starting the app
To Reproduce
Expected behavior
As i startet with project all was ok and the windows was correctly in design time, but with adding more ui its gone.
Screenshots
No response
OS version
win 11 / visual studio 2022
.NET version
9
WPF-UI NuGet version
4.0.2
Additional context
No response
my ressources in app.xaml
Hello,
anything what i can do now to see all again in design time as well. Clean up BIN, OBJ and rebuild is not helpfull here. Maybe any suggestion?
Thanks a lot
Really Strange issue is gone now. Maybe it will come back, but it is definitely VS bug.
The Last changes i made to see my gui, was to add design time alternatives. Then maybe some hours later i realized issue is gone by themself.
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}" d:Background="Gray" ui:Design.Foreground="{DynamicResource ApplicationForegroundBrush}" d:Foreground="White"
Really strange