From: <ger...@pa...> - 2003-09-05 09:33:07
|
Hi Alberto, You can use the following to set the current framework to .NET Compact Framework 1.0 : <property name="nant.settings.currentframework" value="netcf-1.0" /> to compile an assembly using that framework do the following : <csc nostdlib="true" noconfig="true" ....> <sources> <includes name="**/*.cs" /> </sources> <references defaultexcludes="true"> <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/mscorlib.dll" fromPath="false" /> <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" fromPath="false" /> </references> </csc> Hope this helps, Gert ------------------------ "Alberto Cusinato" <Alb...@at...> wrote: ------------------------ > > > >how-to specify the framework version to use in order to build >? > > > > >Dear NAnt >Support, > >how is it >possible to specify the Framework version of .NET, I mean 1.1 instead of >1.0 or even compact framework, inside the .build file >? > >Best >Regards. > > >Alberto >Cusinato >Research & Development >Aton >Srl > > >tel. 0422 6184 fax >0422 618585 ><www.aton.it> - <mailto:alb...@at...> > > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nant-users mailing list >Nan...@li... >https://lists.sourceforge.net/lists/listinfo/nant-users > |