Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No problem during building, but execution ModernWpf.SampleAPP failed #561

Open
Frenchy62620 opened this issue Apr 20, 2023 · 0 comments
Open

Comments

@Frenchy62620
Copy link

Frenchy62620 commented Apr 20, 2023

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....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant