Bugs item #1078940, was opened at 2004-12-04 17:51 Message generated for change (Settings changed) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078940&group_id=31650
>Category: Tasks >Group: 0.85 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Fernando P. Najera Cano (fernandonajera) >Assigned to: Gert Driesen (drieseng) 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. ---------------------------------------------------------------------- Comment By: Fernando P. Najera Cano (fernandonajera) Date: 2004-12-18 18:33 Message: Logged In: YES user_id=869400 Yes! It now works as expected. Thank you! ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-12-18 17:08 Message: Logged In: YES user_id=707851 Can you check whether the latest nightly build (http://nant.sourceforge.net/nightly/latest) fixes this issue for you ? ---------------------------------------------------------------------- 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
