Exception in BuildAssembler via CodeBlockComponent

Topics: User Forum
Dec 21, 2006 at 5:56 AM
Nice piece of work Eric.

I've just had an attempt to use the <code source="xxx.cs" lang="cs">
tag, but I've had no luck getting it past BuildAssembler.

It's a very simple bit of C# code, but I'm not sure how to best get to the bottom of this.

When it gets to the topic containing the <code> tag, it crashes:

...skipping...
Info: BuildAssembler: Building topic N:nTRE
Info: BuildAssembler: Building topic T:nTRE.Connection

Unhandled Exception: System.Xml.XmlException: An error occurred while parsing EntityName. Line 1, position 289.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.ParsePartialContent(XmlNode parentNode, String innerxmltext, XmlNodeType nt)
at System.Xml.XmlElement.set_InnerXml(String value)
at SandcastleBuilder.Components.CodeBlockComponent.Apply(XmlDocument document, String key)
at Microsoft.Ddue.Tools.BuildAssembler.Apply(IEnumerable`1 manifest)
at Microsoft.Ddue.Tools.BuildAssembler.Apply(String manifestFile)
at Microsoft.Ddue.Tools.BuildAssemblerConsole.Main(String[] args)


BUILD FAILED: Unexpected error in last build step. See output above for details.

Coordinator
Dec 21, 2006 at 4:34 PM
Can you e-mail me the comments on the method that's failing (nTRE.Connection)? My e-mail address is in the About box.

Eric