1

I'm tracking an instance of non-existing resource in WPF. What I'm given is an InvalidOperationException informing, that UnsetValue is not a proper value for Background property. However, I don't know, what is the missing resource key or where this setter resides.

I see in WPF sources, that StaticResource markup extension uses an internal WPF class called ResourceDictionaryDiagnostics to log events regarding resource lookup (see eg. lines 137,152).

Is there a way to enable this diagnostic and capture some information about failed resource lookups?

0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.