From: Gert D. <ger...@pa...> - 2004-07-22 03:31:46
|
Steve, You can just use the normal compiler tasks in order to build .NET Compact Framework 1.0 application (we currently don't support netcf 2.0, but I'll look into that soon). You only need to ensure that you're targeting the "netcf-1.0" framework. See http://nant.sourceforge.net/faq.html#change-targetframework for instructions on how to change the target framework (note: you need to use the "netcf-1.0" identifier) You can then, for example, use the csc task without specific modification= s to build apps targeting the .NET Compact Framework : <csc target=3D"exe" output=3D"helloworld.exe" debug=3D"true"> <sources> <include name=3D"**/*.cs" /> </sources> <references> <include name=3D"System.dll" /> <include name=3D"System.Data.dll" /> </references> <resources prefix=3D"<default namespace>" dynamicprefix=3D"true"> <include name=3D"**/*.resx" /> </resources> </csc> Hope this helps, Gert ----- Original Message ----- From: "Steve Inkpen" <si...@ca...> To: <nan...@li...> Sent: Wednesday, July 21, 2004 2:19 PM Subject: [Nant-users] NAnt and Compact Framework I=92ve seen various references regarding NAnt having the capability to co= mpile CF applications yet I=92ve not been able to do it myself. Could someone p= lease submit an example build file which would compile a CF application? Thanks, Stephen Inkpen --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.725 / Virus Database: 480 - Release Date: 7/19/2004 |