Browse Source

Log Exceptions when parsing app.xaml

pull/604/head
jogibear9988 11 years ago
parent
commit
54757a67f9
  1. 5
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.AddIn/Src/WpfViewContent.cs

5
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.AddIn/Src/WpfViewContent.cs

@ -30,6 +30,7 @@ using System.Windows.Input; @@ -30,6 +30,7 @@ using System.Windows.Input;
using System.Windows.Markup;
using System.Xml;
using ICSharpCode.Core;
using ICSharpCode.Core.Presentation;
using ICSharpCode.NRefactory.TypeSystem;
using ICSharpCode.SharpDevelop;
@ -161,9 +162,9 @@ namespace ICSharpCode.WpfDesign.AddIn @@ -161,9 +162,9 @@ namespace ICSharpCode.WpfDesign.AddIn
var dict = (ResourceDictionary)parsed.RootInstance;
designer.DesignPanel.Resources.MergedDictionaries.Add(dict);
}
} catch (Exception ex) {
LoggingService.Error("Error in loading app.xaml", ex);
}
catch (Exception)
{ }
}
}

Loading…
Cancel
Save