|
|
|
@ -192,7 +192,9 @@ namespace ICSharpCode.Core |
|
|
|
throw new AddInLoadException("Cannot use include nodes when hintPath was not specified (e.g. when AddInManager reads a .addin file)!"); |
|
|
|
throw new AddInLoadException("Cannot use include nodes when hintPath was not specified (e.g. when AddInManager reads a .addin file)!"); |
|
|
|
} |
|
|
|
} |
|
|
|
string fileName = Path.Combine(hintPath, reader.GetAttribute(0)); |
|
|
|
string fileName = Path.Combine(hintPath, reader.GetAttribute(0)); |
|
|
|
using (XmlTextReader includeReader = new XmlTextReader(fileName)) { |
|
|
|
XmlReaderSettings xrs = new XmlReaderSettings(); |
|
|
|
|
|
|
|
xrs.ConformanceLevel = ConformanceLevel.Fragment; |
|
|
|
|
|
|
|
using (XmlReader includeReader = XmlTextReader.Create(fileName, xrs)) { |
|
|
|
SetupAddIn(includeReader, addIn, Path.GetDirectoryName(fileName)); |
|
|
|
SetupAddIn(includeReader, addIn, Path.GetDirectoryName(fileName)); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|