I must be missing something simple but can't quite get it. I use debian with the latest mono. I can build simple programs including the simple hello world in the nant (.85 rc3) examples. However, references to other dlls in the gac in windows like System.Data.dll are not working. With mcs I can just use -r:System.Data and the reference is found. In my build file I have tried the following but both result in the same message suggesting i use -r:System.Data
<csc target="exe" output="SimpleQuery.exe" verbose="true"> <sources> <include name="SimpleQuery.cs" /> </sources> <references> <lib> <include name="System.Data.dll" /> </lib> </references> </csc> and <csc target="exe" output="SimpleQuery.exe" verbose="true"> <sources> <include name="SimpleQuery.cs" /> </sources> <references> <lib> <include name="${nant.settings.currentframework.frameworkdirectory}/System.Data.dll" /> </lib> </references> </csc> that property correctly points to /usr/lib/mono/1.0 the current framework property reports mono-1.0 Philip - http://blogs.xcskiwinn.org/panmanphil "There's a difference between righteous anger and just being crabby" - Barbara ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users