When running my WPF app I am seeing many warning messages in the output window:
System.Windows.ResourceDictionary Warning: 9 : Resource not found
However, unlike all of the related questions I have seen posted on Stack Overflow (like this one), none of these warnings tell me which resource key (or keys) is/are causing the problem.
Is there any way to get Visual Studio to tell me this information? I have tried changing the WPF Trace Settings in Debug Options, but these have had no effect. Oddly, I still get the resource dictionary warnings even when the related trace setting is set to "Off".
Background information
I am making use of an MVVM library called Stylet and these warnings seem to appear when one view is switched out for another. Other than a slight (but noticeable) delay, the warnings don't seem to affect the operation of the app.
That said, I suspect that the warnings are more likely due to another library, Material Design, as I added that later in development and don't recall seeing the warnings until after that point.
My code is split across two different C# projects: one for the UI stuff (controls, styles, converters, brushes, etc) and the other for the main app. The Stylet and Material Design NuGet packages are referenced by the UI project; the UI project is then referenced by the main app project. Both projects are .Net Core 3.1.