- summary: Visual Studio 2003 solution crashes NDoc 1.3.1 --> VS2003 solution crashes NDoc 1.3.1 - "unexpected token"
NDoc version: 1.3.1
Framework version: 1.1
Visual Studio 2003 running on XP
When I create a New from Visual Studio Solution and
choose my .SLN file, NDoc throws the exception detailed
below.
Note 1: I have already compiled the project for XML
documentation on and cleared all XML warnings noted by
VS2003.
Note 2: I was able to compile a working help file from
my application's DLL. It was only when I switched to
wanting to read the VS solution that it failed.
Note 3: The feature does work for me with other VS
solutions.
************** Exception Text **************
System.Xml.XmlException: This is an unexpected token.
The expected token is 'SEMICOLON'. Line 416, position 59.
at System.Xml.XmlScanner.ScanNamedEntity()
at
System.Xml.XmlTextReader.ExpandLiteral(XmlAttributeTokenInfo
currToken)
at
System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo
fld)
at System.Xml.XmlTextReader.SetAttributeValues()
at System.Xml.XmlTextReader.ParseElement()
at System.Xml.XmlTextReader.Read()
at
System.Xml.XmlValidatingReader.ReadNoCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at
System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
parent, String parentBaseUri, XmlReader reader,
PositionInfo positionInfo)
at
System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
parent, String parentBaseUri, XmlReader reader,
PositionInfo positionInfo)
at
System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
parent, String parentBaseUri, XmlReader reader,
PositionInfo positionInfo)
at
System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
parent, String parentBaseUri, XmlReader reader,
PositionInfo positionInfo)
at
System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
parent, String parentBaseUri, XmlReader reader,
PositionInfo positionInfo)
at System.Xml.XPath.XPathDocument.Load(XmlReader reader)
at System.Xml.XPath.XPathDocument.Init(XmlReader reader)
at System.Xml.XPath.XPathDocument..ctor(String uri)
at NDoc.VisualStudio.Solution.AddProject(String
projectLine)
at NDoc.VisualStudio.Solution.Read(String path)
at NDoc.VisualStudio.Solution..ctor(String slnPath)
at
NDoc.Gui.MainForm.menuFileOpenSolution_Click(Object
sender, EventArgs e)
at NDoc.Gui.MainForm.toolBarButton_Click(Object
sender, ToolBarButtonClickEventArgs e)
at
System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs
e)
at
System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(Message& m)
at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message&
m)
at
System.Windows.Forms.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
NDocGui
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDocGui.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
NDoc.Core
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Core.DLL
----------------------------------------
NDoc.Documenter.JavaDoc
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.JavaDoc.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
NDoc.Documenter.Latex
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Latex.DLL
----------------------------------------
NDoc.Documenter.LinearHtml
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.LinearHtml.DLL
----------------------------------------
NDoc.Documenter.Msdn
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Msdn.DLL
----------------------------------------
NDoc.Documenter.Msdn2
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Msdn2.DLL
----------------------------------------
NDoc.Documenter.NativeHtmlHelp2
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.NativeHtmlHelp2.DLL
----------------------------------------
Interop.MSHelpCompiler
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/Interop.MSHelpCompiler.DLL
----------------------------------------
NDoc.Documenter.Xml
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Xml.DLL
----------------------------------------
mclp4pjo
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
ljhizgfx
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Design
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
----------------------------------------
NDoc.VisualStudio
Assembly Version: 1.3.1851.0
Win32 Version: 1.3.1851.0
CodeBase:
file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.VisualStudio.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file
for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>