Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution after confusion_InheritDocPostProcess error,is an invalid character. #18

Open
gaoyang opened this issue Dec 3, 2024 · 0 comments

Comments

@gaoyang
Copy link

gaoyang commented Dec 3, 2024

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()

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant