Trying to create new NDoc project from visual studio
solution. The solution is on a network share. When I
select the solution in the file picker and click ok, I get an
unhandled exception with the error: "The given path's
format is not supported." The details are included below:
************** DETAILS ****************
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NotSupportedException: The given path's format
is not supported.
at
System.Security.Util.StringExpressionSet.CanonicalizePat
h(String path, Boolean needFullPath)
at
System.Security.Util.StringExpressionSet.AddExpressions
(String[] str, Boolean checkForDuplicates, Boolean
needFullPath)
at
System.Security.Permissions.FileIOPermission.AddPathList
(FileIOPermissionAccess access, String[] pathListOrig,
Boolean checkForDuplicates, Boolean needFullPath,
Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor
(FileIOPermissionAccess access, String[] pathList,
Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileStream..ctor(String path, FileMode
mode, FileAccess access, FileShare share, Int32
bufferSize, Boolean useAsync, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode
mode, FileAccess access, FileShare share)
at System.Xml.XmlDownloadManager.GetStream(Uri
uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at
System.Xml.XmlValidatingReader.ReadWithCollectTextTok
en()
at System.Xml.XmlValidatingReader.Read()
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 System.Windows.Forms.MenuItem.OnClick
(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand
(Message& m)
at System.Windows.Forms.Control.WndProc(Message&
m)
at System.Windows.Forms.ScrollableControl.WndProc
(Message& m)
at System.Windows.Forms.ContainerControl.WndProc
(Message& m)
at System.Windows.Forms.Form.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.573
CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscor
lib.dll
----------------------------------------
NDocGui
Assembly Version: 1.2.1303.41457
Win32 Version: 1.2.1303.41457
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDocGui.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/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.573
CodeBase:
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5
c561934e089/system.dll
----------------------------------------
NDoc.Core
Assembly Version: 1.2.1303.41451
Win32 Version: 1.2.1303.41451
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Core.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0
__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
NDoc.Documenter.HtmlHelp2
Assembly Version: 1.2.1303.41463
Win32 Version: 1.2.1303.41463
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.HtmlHelp2.DLL
----------------------------------------
Interop.MSHelpCompiler
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/Interop.MSHelpCompiler.DLL
----------------------------------------
NDoc.Documenter.Msdn
Assembly Version: 1.2.1303.41460
Win32 Version: 1.2.1303.41460
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.Msdn.DLL
----------------------------------------
NDoc.Documenter.JavaDoc
Assembly Version: 1.2.1303.41464
Win32 Version: 1.2.1303.41464
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.JavaDoc.dll
----------------------------------------
NDoc.Documenter.Latex
Assembly Version: 1.2.1303.41466
Win32 Version: 1.2.1303.41466
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.Latex.dll
----------------------------------------
NDoc.Documenter.LinearHtml
Assembly Version: 1.2.1303.41468
Win32 Version: 1.2.1303.41468
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.LinearHtml.dll
----------------------------------------
NDoc.Documenter.Xml
Assembly Version: 1.2.1303.41469
Win32 Version: 1.2.1303.41469
CodeBase: file:///C:/Program%20Files/NDoc/bin/.net-
1.1/NDoc.Documenter.Xml.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b7
7a5c561934e089/system.xml.dll
----------------------------------------
System.Design
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.design/1.0.5000.0_
_b03f5f7f11d50a3a/system.design.dll
----------------------------------------
NDoc.VisualStudio
Assembly Version: 1.2.1303.41454
Win32 Version: 1.2.1303.41454
CodeBase: file:///C:/Program%20Files/NDoc/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>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the
machine
rather than being handled by this dialog.
Logged In: YES
user_id=928670
I also tried loading the same project from local disk. I am
running VS.NET2003, .NET Framework v1.1, Win2K.
Logged In: YES
user_id=4516
Please verify that this is still happeing with the latest nightly code.
If so, please upload a small test case that demonstrates this bug.
Make sure that your upload can be compiled on its own, and
includes all the necessary files to demonstrate the bug, inlcuding
an ndoc project file, and /doc xml if appropriate.
Logged In: YES
user_id=919791
Unfortunately, this is a known limitation. NDoc cannot
document assemblies on remote shares, they must be local :-(
We hope to overcome this in a later release, but at present
the only work-around is to copy your VS solution and the
resulting assemblies/xml files to a local drive...