Lee, I'm pretty sure System.Data.dll (or any other assembly) will be in the PATH.
Removing the "frompath" attribute should fix your problem. Gert > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED] On Behalf Of Lee Chu > Sent: dinsdag 19 september 2006 18:49 > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] vbc : error BC30464 > > Hi, > > I have a build file for a project, but when I tried to run the file, I > got the following error message: [vbc] vbc : error BC30464: Namespace > or type 'Data' in the project-level Imports 'System.Data' cannot be > found. > > These are what I have in my build file: > <imports> > <import namespace="System" /> > <import namespace="System.Collections" /> > <import namespace="System.Data" /> > <import namespace="System.Diagnostics" /> > </imports> > .... > <references> > <include frompath="true" name="System.dll" /> > <include frompath="true" name="System.Data.dll" /> > <include frompath="true" name="System.Xml.dll" /> > ... > </references> > > Am I missing anything? > > Thanks, > Lee > > > > ----------------------------------------------------------------------- > -- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > EV > _______________________________________________ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users