Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 NAnt fails to compile if XML Documentation File entry is set - ID: 1188394
Last Update: Comment added ( drieseng )

NAnt fails to compile if XML Documentation File entry
is set in the Project Properties.

The project is in C#. Here is the error:

BUILD FAILED

Could not find file 'D:\build\working\Web
Server\Test1.xml' to copy.

If I then go into project properties and remove the
entry for 'XML Documentation File', NAnt compiles it fine.

Here is the version information:
NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

And I am going against .NET 1.1


rgelb ( rgelb ) - 2005-04-22 23:42

5

Closed

Fixed

Gert Driesen

Core

0.85

Public


Comments ( 4 )

Date: 2005-05-03 19:04
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in cvs and will be available in the next
nightly build.


Date: 2005-04-27 23:00
Sender: rgelb

Logged In: YES
user_id=1184475

Here is repro. It seems that neither rc2 or rc3 actually
generates XML documentation when compiling. Then it just
expects to find the xml doc file to be copied. Sample attached.


Date: 2005-04-26 00:48
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

Can you attach a small repro to this bug report (or send it to
me: drieseng@users.sourceforge.net)


Date: 2005-04-23 00:13
Sender: rgelb

Logged In: YES
user_id=1184475

One more item I neglected to mention:

I am compiling in release mode, thus the XML Documentation
File is set for the Release compile configuration.

.


Attached File ( 1 )

Filename Description Download
ClassLibrary2.zip Here is the repro (includes solution and a sample build file. Download

Changes ( 7 )

Field Old Value Date By
status_id Open 2005-05-03 19:04 drieseng
resolution_id None 2005-05-03 19:04 drieseng
assigned_to nobody 2005-05-03 19:04 drieseng
close_date - 2005-05-03 19:04 drieseng
File Deleted 132037: 2005-04-27 23:01 rgelb
File Added 132037: ClassLibrary2.zip 2005-04-27 23:00 rgelb
File Added 132036: ClassLibrary2.zip 2005-04-27 22:59 rgelb