Bugs item #875674, was opened at 2004-01-12 22:05
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=875674&group_id=31650

>Category: Tasks
>Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: qswinson (qswinson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution task copies more than just referenced libraries

Initial Comment:
The solution task copies all libraries and related
files located in the referenced directory, not just the
library that is referenced. This is very time consuming
when all build assemblies are stored in a single
directory and referenced from that directory in the
project files.

For example, if the directory c:\test\bin contains
test1.dll, test2.dll, test2.pdb, and test3.dll and
project c:\test\test4\test4.csproj only has one reference:

<Reference
    Name = "test1"
    AssemblyName = "test1"
    HintPath = "..\bin\test1.dll"
/>

When this project is built with a solution task,
test2.dll, test2.pdb and test3.dll will also be copied
into the build directory even though they are not
referenced.



----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2004-02-22 11:10

Message:
Logged In: YES 
user_id=707851

I'll close this report, unless you have something to add to it or 
can provide us a repro ...

----------------------------------------------------------------------

Comment By: Nicklas Norling (exinor)
Date: 2004-01-22 20:21

Message:
Logged In: YES 
user_id=949257

Ok great then I agree with you :)

----------------------------------------------------------------------

Comment By: qswinson (qswinson)
Date: 2004-01-22 20:19

Message:
Logged In: YES 
user_id=789833

I agree that it is important to mimic VS for this task. VS
2003 copies the referenced assembly and indirectly
referenced assemblies to the build directory. It does not
copy the entire contents of the directory of the referenced
assembly. 

----------------------------------------------------------------------

Comment By: Nicklas Norling (exinor)
Date: 2004-01-22 18:33

Message:
Logged In: YES 
user_id=949257

The solution task is supposedly a Nant version of VS running build on a VS solution 
file. It would be a bad thing if this task would do things different from VS in my 
oppinion. I believe that the "extra" dll's are dependant dll's dependents. If you want 
to e.g. run unti tests in the bin/debug folder you need not only the output file it 
self, but everything it is in anyway dependant on. Even the most remotly dependant dll 
as far as I understand. So unless I've missunderstod .NET dependecies and dll's this 
should most definately stay as it is or loads of things might be broken.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=875674&group_id=31650


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to