wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

Visual Studio can not find ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}" in design time

Open DennisBergemann opened this issue 9 months ago • 1 comments

Describe the bug

Image

in design time i have the message Dynamics ressource not found, but it works when starting the app

To Reproduce

Image

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

DennisBergemann avatar May 09 '25 08:05 DennisBergemann

my ressources in app.xaml

Image

DennisBergemann avatar May 09 '25 08:05 DennisBergemann

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

DennisBergemann avatar Sep 03 '25 12:09 DennisBergemann

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

DennisBergemann avatar Sep 09 '25 05:09 DennisBergemann