dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] Re:Pocket PC Apps


From: Andrew Revvo
Subject: [Pnet-developers] Re:Pocket PC Apps
Date: Fri, 15 Oct 2004 01:29:54 +0400

Fabio,

Download NET Compact Framework 1.0 SP2 Redistributable:
http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556&displaylang=en

Unpack the needed processor libraries and link your software with these dlls.
Note. Do not link with stdlib.

This is an example of NAnt target (I use Microsoft Net 1.1 command line compiler),
but I think that you may port it to PNET without any problems.

--
  <target name="build.pocketpc.netcfXX">
       <mkdir dir="${build.output}" />

       <property name="netcf.path" value="C:/Tools/Dev/C#/netcf" />
<property name="net11.path" value="C:/Windows/Microsoft.NET/Framework/v1.1.4322" />
       <exec program="${net11.path}\csc.exe">
           <arg value="/target:winexe" />
           <arg value="/out:${build.output}/${build.name}.exe" />
           <arg value="/doc:${build.output}/${build.name}.doc.xml" />
           <arg value="/debug" if="${build.debug}" />
           <arg value="/optimize" />
           <arg value="/define:${build.define}" />
           <arg value="/nostdlib" />
           <arg value="/noconfig" />
           <arg value="/reference:${netcf.path}\Mscorlib.dll" />
           <arg value="/reference:${netcf.path}\System.dll" />
<arg value="/reference:${netcf.path}\System.Windows.Forms.dll" />
           <arg value="Program.cs" />
       </exec>
   </target>
--

Andrew Revvo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]