Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 <solution> breaks on unused references - ID: 1186176
Last Update: Comment added ( drieseng )

The <solution> tasks fails if an assembly references
another assembly that does not exist but is not used at
all.

For instance, the Enterprise Library references
nunit.framework.dll. But the Debug, Release and
ReleaseFinal configurations exclude all test code, thus
the solution still builds under VS.NET 2003 even without
NUnit installed. VS.NET 2003 does not care that the
assembly reference is invalid, because no code uses
anything from the nunit.framework.dll assembly.

Only if the DebugUnitTests, DebugLongRunningTests,
ReleaseUnitTests or ReleaseLongRunningTests
configururations are built does VS.NET 2003 require
that the reference to nunit.framework.dll be valid and
therefore that NUnit is actually installed.


Mach005 ( mach005 ) - 2005-04-19 18:23

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comments ( 4 )

Date: 2005-06-15 06:23
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in cvs.

Thanks for the report !


Date: 2005-06-13 20:07
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

I have this issue fixed locally. I'll commit it after I've tested it
against my (local) <solution> task test suite.


Date: 2005-06-13 17:27
Sender: maliger

Logged In: YES
user_id=655297

this is connected with Prepare() buildexceptions as well as
nant-Bugs-1219705 IMHO.


Date: 2005-04-19 18:35
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

I'll fix this when I get back from my vacation (in about 2
weeks).


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-06-15 06:23 drieseng
resolution_id None 2005-06-15 06:23 drieseng
close_date - 2005-06-15 06:23 drieseng
assigned_to nobody 2005-04-19 18:35 drieseng