Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 Implied dependancies not considered in <solution> - ID: 1173529
Last Update: Comment added ( drieseng )


I have a solution with several C++ projects. One builds
a .lib that gets used by the other. The library project
has a setting in Linker->Dependencies->Additional
Dependencies of a system library (NetAPI32.lib).

The other project (that builds an .exe) does not include
NetAPI32.lib in it's Additional Dependancies section.
Under VS.Net this does not appear to be a problem.
Apparently, VS.Net will look at the Additional
Dependancies of any "library" projects and include them
when linking the "exe" project.

Nant doesn't appear to do this. The work around is to
include the needed libraries in the Additional
Dependancies section of the exe project. Unfortunantly,
this is turning out to be rather a pain to maintain. So
this bug is to have Nant mimick the behavior of VS.Net
to include the implied additional dependancies whe
linking the main executable.


Ray Johnson ( rjontilt ) - 2005-03-30 18:44

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comments ( 4 )

Date: 2005-04-02 16:13
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in cvs. The problem was that we were
ignoring the additional dependies setting for the lib project.


Date: 2005-04-01 22:36
Sender: rjontilt

Logged In: YES
user_id=1246077

Ok - I've attached a simple example that reproduces the
problem.


Date: 2005-03-31 15:20
Sender: henryl

Logged In: YES
user_id=1083163

This is the same issue as in bug 1124296.


Date: 2005-03-30 19:23
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

Ray, please attach a small repro for this bug report too.

Thanks !


Attached File ( 1 )

Filename Description Download
NantTest.zip Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2005-04-02 16:13 drieseng
resolution_id None 2005-04-02 16:13 drieseng
category_id Core 2005-04-02 16:13 drieseng
assigned_to nobody 2005-04-02 16:13 drieseng
close_date - 2005-04-02 16:13 drieseng
File Added 128149: NantTest.zip 2005-04-01 22:36 rjontilt