I have been having a few problems with the <ndoc> task where it was
generating 1.1 links to framework objects even though I was specifying 1.0
for the framework version.  

I have had a discussion with ever helpful Gert, and it would appear that
this is now fixed, but there appears to be a problem.  With NAnt versions
prior to 23nd April, the <ndoc> task works correctly on a machine with ONLY
1.0 framework installed, but produces documentation with references to the
1.1 framework.  On 23rd build an onwards, the task works correctly on a
machine with 1.0.and 1.1 frameworks installed and produces documentation for
the correct framework depending on the SdkDocVersion property, but on a
machine with only 1.0 framework installed, the <ndoc> task fails with the
following exception:

            docs:

                 [ndoc] Initializing...
                 [ndoc] Merging XML documentation...
                 [ndoc] Building file mapping...
                 [ndoc] Loading XSLT files...
                 [ndoc] Generating HTML pages...

            BUILD FAILED

            c:\Dev.NET\Bill\ListServer\ListManager\project.build(71,4):
                 [ndoc] Error building documentation.
                Function 'NUtil:Replace()' has failed.
                    Function 'NUtil:Replace()' has failed.
                        Object type cannot be converted to target type.

            Total time: 8.1 seconds.


Unfortunately, we cannot install version 1.1 of the framework at the moment
as all our development is based on 1.0 and ASP.NET 1.0 and 1.1 can't
co-exist on the same machine properly.  Has anyone else hit this problem?
Is there a work round?, if not, how do I log a bug and get it looked at?

(I can provide the verbose output if required, but didn't want to post too
large a posting to start with)

Cheers,

Bill




______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or 
organisation to 
whom it is addressed.  Its contents are confidential and may be protected in law.  
Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the intended 
recipient, please 
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which 
could damage your 
own computer system.  While Marlborough Stirling has taken every reasonable precaution 
to minimise 
this risk, we cannot accept liability for any damage, which you sustain as a result of 
software 
viruses.  You should carry out your own virus checking procedure before opening any 
attachment.


Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.com



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to