#303 NdocGui vs NdocConsole

open
nobody
None
5
2006-08-01
2006-08-01
Modern Rocketry
No

I'm using NDocConsole.exe in a build to automatically
create documentation.

NdocGUI.exe works fine, NDocConsole.exe does not.
Any help/direction is appreciated.

Command:
"C:\Program Files\NDoc 1.3\bin\net\1.1
\NDocConsole.exe" mydllhere.dll, myxmlhere.xml -
documenter=MSDN -OutputDirectory=put\output\here\ -
HtmlHelpName=mydllhere.chm -verbose

Output:
NDoc 1.3.1 (Build 1.3.1851.0; net-1.1.win32; release;
1/25/2005)
http://ndoc.sourceforge.net

Initializing...
Last step took 0.1 s
Merging XML documentation...
Error: NDoc.Core.DocumenterException
The format of the file 'myxmlhere.xml' is invalid.
Error: System.BadImageFormatException
The format of the file 'myxmlhere.xml' is invalid.

at NDoc.Documenter.Msdn2.Msdn2Documenter.Build
(Project project)
at NDoc.ConsoleApplication.EntryPoint.Main(String
[] args)
Error: NDoc.Core.DocumenterException
The format of the file 'myxmlhere.xml' is invalid.
Error: System.BadImageFormatException
The format of the file 'myxmlhere.xml' is invalid.

at NDoc.Documenter.Msdn2.Msdn2Documenter.Build
(Project project)
at NDoc.ConsoleApplication.EntryPoint.Main(String
[] args)

Discussion

  • NDoc Pal
    NDoc Pal
    2006-09-15

    Logged In: YES
    user_id=1598902

    I get this same error. Is there a fix/workaround for it?