|
|
|
@ -86,7 +86,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
@@ -86,7 +86,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
|
|
|
|
|
parserSettings.CreateInstanceCallback = this.Services.ExtensionManager.CreateInstanceWithCustomInstanceFactory; |
|
|
|
|
parserSettings.ServiceProvider = this.Services; |
|
|
|
|
_doc = XamlParser.Parse(xamlReader, parserSettings); |
|
|
|
|
if(_doc==null) |
|
|
|
|
|
|
|
|
|
loadSettings.ReportErrors(xamlErrorService); |
|
|
|
|
|
|
|
|
|
_rootItem = _componentService.RegisterXamlComponentRecursive(_doc.RootElement); |
|
|
|
|