Kinnara / ModernWpf

Modern styles and controls for your WPF applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No problem during building, but execution ModernWpf.SampleAPP failed

Frenchy62620 opened this issue · comments

Hi, i download the code of Github, builds (no problem) but i have an exception when i launch the SampleAPP in mode debug/release (VS2022):

System.Windows.Markup.XamlParseException
   HResult=0x80131501
   Message='The supplied value on 'ModernWpf.Markup.StaticResourceExtension' threw an exception.' line number '584' and line position '79'.
   Source=PresentationFramework
   Procedure call tree:
    at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)

   This exception was originally thrown in this call stack:
     System.Windows.StaticResourceExtension.ProvideValueInternal(System.IServiceProvider, bool)
     System.Windows.StaticResourceExtension.ProvideValue(System.IServiceProvider)
     MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(System.Windows.Markup.MarkupExtension, System.IServiceProvider)

Inner exception 1:
Exception: Could not find resource named 'SystemColorHighlightTextBrush'. Resource names are case sensitive.

it seems to have a problem with a resource? i have missed something ?

PS following the environment choosen net5.0-window0.7, or net6.0-windows or net5.0-windows10.0.18362.0, the exception is not on the same resource....