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 modifications
to build apps targeting the .NET Compact Framework :

<csc target="exe" output="helloworld.exe" debug="true">
    <sources>
        <include name="**/*.cs" />
    </sources>
    <references>
        <include name="System.dll" />
        <include name="System.Data.dll" />
    </references>
    <resources prefix="<default namespace>" dynamicprefix="true">
        <include name="**/*.resx" />
    </resources>
</csc>

Hope this helps,

Gert

----- Original Message -----
From: "Steve Inkpen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 2:19 PM
Subject: [Nant-users] NAnt and Compact Framework


I’ve seen various references regarding NAnt having the capability to compile
CF applications yet I’ve not been able to do it myself. Could someone please
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




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to