Fred,

Could it be that you're using a old version of NAnt ?

Recent versions of NAnt (eg. 0.85 RC1) should not have any problems with
this hintpath.

Gert 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Fred Chang
> Sent: dinsdag 8 februari 2005 21:55
> 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

Reply via email to