Bugs item #1078940, was opened at 2004-12-04 17:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078940&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fernando P. Najera Cano (fernandonajera)
Assigned to: Nobody/Anonymous (nobody)
Summary: More on AssemblyFolderKey problem (2 .vbproj in 1 .sln)

Initial Comment:
1. Prepare a .sln with at least two projects. Lets call 
them Main and Library).

2. Add the same reference for the two of them. In my 
tests, I added ODP.NET.

3. VS.NET, as the two projects are under the same 
solution, does write this to the .vbprojs:

Main.vbproj:
<Reference
Name = "Oracle.DataAccess"
AssemblyName = "Oracle.DataAccess"
AssemblyFolderKey = "hklm\dn\odp.net"
/>

Library.vbproj:
<Reference
Name = "Oracle.DataAccess"
AssemblyName = "Oracle.DataAccess"
/>

3. Try to make a .build for the solution using the solution 
task. It will fail for the library as there is no 
AssemblyFolderKey. But the same .sln compiles in 
VS.NET 2003 without troubles.

It seems that as VS.NET already knows where 
Oracle.DataAccess is for one project, it assumes the 
same path for the rest of projects.

I think that just after trying to locate the .dll by all 
means, if a .dll with the same name has been located for 
another project in the same solution, NAnt should use 
that location instead of failing.

Anyway, adding the AssemblyFolderKey to the second 
project works too.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to