You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle XamlWriter.Save failing on non-public internal types (#780)
When WPF's XamlWriter.Save encounters non-public types like System.Windows.Baml2006.KeyRecord (common in .NET 11 with merged ResourceDictionaries and DataTemplates), it throws InvalidOperationException. Catch that in ToXamlString and fall back to producing only the PNG snapshot instead of crashing the test.
0 commit comments