InheritDoc icon indicating copy to clipboard operation
InheritDoc copied to clipboard

Execution after confusion_InheritDocPostProcess error,is an invalid character.

Open gaoyang opened this issue 1 year ago • 0 comments

Since my assembly was obfuscated (only obfuscated below internal), the following exception was thrown.

I wonder if we can avoid this problem by not using utf8 encoding.

=======================================

SauceControl.InheritDoc.targets(30,3): Error : '', hexadecimal value 0x18, is an invalid character. at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize) at System.Xml.XmlUtf8RawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd) at System.Xml.XmlUtf8RawTextWriter.WriteString(String text) at System.Xml.XmlWellFormedWriter.WriteString(String text) at System.Xml.XmlWriter.WriteAttributeString(String prefix, String localName, String ns, String value) at System.Xml.Linq.ElementWriter.WriteStartElement(XElement e) at System.Xml.Linq.ElementWriter.WriteElement(XElement e) at System.Xml.Linq.XElement.WriteTo(XmlWriter writer) at System.Xml.Linq.XContainer.WriteContentTo(XmlWriter writer) at System.Xml.Linq.XDocument.WriteTo(XmlWriter writer) at InheritDocProcessor.InheritDocs(String asmPath, String docPath, String outPath, String[] refPaths, String[] addPaths, ApiLevel trimLevel, ILogger logger) at InheritDocTask.Execute()

=======================================

gaoyang avatar Dec 03 '24 09:12 gaoyang