Bugs item #916822, was opened at 2004-03-15 13:57 Message generated for change (Comment added) made by alexeiost You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=916822&group_id=31650
Category: Tasks Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alexei Ostrov (alexeiost) Assigned to: Gert Driesen (drieseng) Summary: Couldn't find referenced assembly ... Initial Comment: Right off, sorry if it was already posted and I didnt' find the article; if so please respond with a link. I use <slolution> tag for building our solution on a Windows XP machine. This solution is developed mostly on Win2K machines. The difference between these machines/OS is that framework on XP is installed into C:\windows\... and on Win2K it is installed into c:\winnt\... . Because the solution is developed on Win2K machines the references in the project files point to c:\winnt\... . When one opens the solution on the build machine the references are 'magically' changed and he will see a correct referece from within the IDE, so the solution builds just fine there. If I build it with NAnt (on XP machine), however, I get the error saying that the c:\winnt\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll could not be found. Truly so because it is in c:\windows\Microsoft.NET\Framework\v1.1.4322\. How can I get around it? Thank you, Alexei ---------------------------------------------------------------------- >Comment By: Alexei Ostrov (alexeiost) Date: 2004-03-15 15:15 Message: Logged In: YES user_id=996468 just found that '-defaultframework:net-1.1' fixes it. but why can't it be taken from registry. As far as I know, am I wrong?, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework specifies installation directory in InstallDir key. I am using 0.84 (which, I believe, is the latest stable). ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-03-15 14:28 Message: Logged In: YES user_id=707851 Alexei, What version of NAnt did you test this with ? Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) and report back ? Please attach the project file with which you're having problems, if the latest nightly does not resolve this issue. Thanks ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=916822&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers