I know that VBDoc is not part of NAnt, but I believe that this issue is NAnt
related rather than VBDoc related (though I could be wrong)

I have a build script that extracts doc comments using the VBDoc tool.  The
script runs fine on the old version of nant I was using (nightly build
0.85_2004_06_30), but when I run it on RC1 I get an error:

                        docs:

                            [vbdoc]     [vbdoc] Please enter a valid
assembly name.

                        BUILD FAILED - 1 non-fatal error(s), 3 warning(s)

Now within VBDoc, the line that is actually failing is:

                if(! File.Exists(assemblyfile)) {
                        errors.Add("Please enter a valid assembly name.");
                }

I have stepped through the code in both cases and the value of assemblyfile
is the same in both cases, though it is a relative path from the current
build folder.  I do have both 1.0 and 1.1 of the framework installed on my
machine.  I use -t:net1-0 on the command line to force 1.0.  Is there
anything weird in 1.1 that would make this fail?  I know there were some
changes related to which framework NAnt used by default during the 0.85
development.  I don't know whether I bridge this change with my versions.

Anyone got any idea on what might be happening or do I need to dig further.

Cheers,

Bill



UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
______________________________________________________________

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



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to