Hi Gert! I'm working with VS.NET 2003 and it seems to have a different behaviour. I tried to compile with NAnt a project which has a reference to a CrystalReports assembly and the build failed because the hint path was set to a relative path which does not exist (I'm using the build script file with CruiseControl.NET, so the project's directory is different than that created by the programmers).
<Reference Name = "CrystalDecisions.Shared" AssemblyName = "CrystalDecisions.Shared" HintPath = "..\..\..\Arquivos de programas\Arquivos comuns\Crystal Decisions\1.1\Managed\CrystalDecisions.Shared.dll" AssemblyFolderKey = "hklm\crystal.net" /> In order to see if VS.NET would search for it in the GAC, I removed manually the HintPath and also the AssemblyFolderKey (I don't know what is this one). Then I opened the solution with VS.NET and tried to compile: everything was OK, all references were found. I suppose it found them in the GAC once all Crystal Reports assemblies are installed there. However, the build done via NAnt script file was still failing. [solution] Starting solution build. BUILD FAILED Assembly "CrystalDecisions.Shared", referenced by project "GDQ", could not be re solved. Is it so or am I misunderstanding something? 2005/8/16, Gert Driesen <[EMAIL PROTECTED]>: > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Célio Cidral Junior > > Sent: dinsdag 16 augustus 2005 14:38 > > To: nant-users@lists.sourceforge.net > > Subject: [Nant-users] Does it search for assemblies in GAC? > > > > Hi, > > > > When building via <solution> task, does NAnt search for assemblies in > > the GAC when it does not find them with HintPath? I refer to those > > assemblies referenced by the projects. > > Célio, we do not search in the GAC. This matches the behaviour of VS.NET > 2002/2003. > > Gert > > -- Celio Cidral Junior WEG Eletric http://www.weg.com.br ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users