Tag Archives: Visual Studio

Bug: Single <Application.Resources> Entry Ignored

Crash! The offending XAML sets a control’s style property to a StaticResource (e.g. <Button Style=”{StaticResource myStyle}” />). The named style is defined in <Application.Resources>. Why then the XamlParseException “Cannot find resource…” exception?

Posted in Programming | Tagged , , , , | 4 Comments