Eric,
 
Only recent nightly builds of NAnt ship with NDoc 1.3 final. NAnt 0.85 RC1 shipped with NDoc 1.3 RC1.
 
This is probably the reason why you ran into some issues.
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Deslauriers
Sent: donderdag 6 januari 2005 3:55
To: Gert Driesen; [email protected]
Subject: RE: [Nant-users] NDoc task can't find 'HtmlHelp2'

Gert,

 

Thanks for the response. I like the detail on this page a lot better than on the “stable” page, BTW. J

 

The solution to my problem involved removing an NDoc.Documenter.Msdn.dll version 1.2.1303.41355 from my <Nant>\bin and <Nant>\lib directories.

 

I don’t know why the version of NDoc.Documenter.Msdn.dll is used to define the version of searched-for NDoc.Documenter.HtmlHelp2.dll that the NDoc task is looking for, but that appears to be what’s happening. I used Fusion logger to figure out that I had a version problem, but lucked into the solution, mostly because this was a “It worked great a couple of weeks ago and [I thought] I didn’t change *anything*!” (someone else added a later file)

 

This is probably not a recommendable way to require a subsequent library version, but then again, what do I know? ;-)

 

Alternatively, I could have updated Nant.exe.config with a probing path for the HtmlHelp2 library.

 

Thanks again for the assist!

 

Eric D

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: Wednesday, January 05, 2005 2:27 PM
To: Eric Deslauriers; [email protected]
Subject: RE: [Nant-users] NDoc task can't find 'HtmlHelp2'

 

Eric,

 

See http://nant.sourceforge.net/nightly/latest/help/tasks/ndoc.html for instructions on how to make other NDoc documenters available for use by the <ndoc> task.

 

Hope this helps,

 

Gert

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Deslauriers
Sent: woensdag 5 januari 2005 4:08
To: [email protected]
Subject: [Nant-users] NDoc task can't find 'HtmlHelp2'

NDoc works as expected when run from the GUI, but when I use the NAnt task, I get an error. Since the NDoc.Documenter.HtmlHelp2.dll is located in the same dir as NDocConsole.exe, I’m not sure what’s failing:

 

<paste>

locate-ndoc:

 

     [echo] NDoc located at ..\sdktools\NDoc 1.2\bin\.net-1.1\NDocConsole.exe

 

ndoc-gen:

 

   [tstamp] Tuesday, January 04, 2005 7:00:56 PM.

     [echo] Doc'ing assemblies from C:\dev\mta\source\..\Build\bin

 

BUILD FAILED

 

C:\dev\mta\source\default.build(573,4):

Error loading documenter 'HtmlHelp2' from available documenters (MSDN, NAntTask)

. Is the NDoc documenter assembly available?

 

Line 573 is:

                        <ndoc>

So I’m assumed it didn’t like

                                    <documenters>

                                                <documenter name="HtmlHelp2">

 

If I change it to “MSDN” it’s happy. But I don’t *want* MSDN.

 

Using the GUI, I can create HtmlHelp2 files.

 

Thanks,

Eric D

Reply via email to