If I do that, NAnt tries to find System.Web.dll in the same directory as the NAnt build script. So that doesn't really work.
What works: make a copy of Microsoft.Net from C:\WINNT to C:\Windows I know this is really ghetto, but is there any other way? Is there a environment variable that I can set to tell NAnt to look in a specific place? On Tue, 8 Feb 2005 15:00:44 -0600, Butler, Mark A Mr IPI Gramm Tech <[EMAIL PROTECTED]> wrote: > Try taking out any path reference. Leave it at 'System.Web.dll' > > NAnt will find it. > > You can do that for all the .net DLL's. > > MArk B. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Fred Chang > Sent: Tuesday, February 08, 2005 12:55 PM > To: [email protected] > Subject: [Nant-users] Reference not found on different OS > > I have a project developed on Windows 2003 and a NAnt build script on > Windows 2000. During execution, NAnt complains that references could > not be found: > > Couldn't find referenced assembly > 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll'. > > This error occurred because the HintPath in that particular .csproj > file is set to > "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll" > while the .Net assemblies on the Windows 2000 machine are in > C:\WINNT\Microsoft.NET\.... > > However, when I use devenv on the Windows 2000 machine to compile, > everything works fine. Why doesn't NAnt look in the right location? > > ------------------------------------------------------- > 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nant-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
