Hi Raj, The <csc> task supports a "platform" attribute for this purpose.
Hope this helps, Gert -----Original Message----- From: ptr2009 [mailto:ptrajku...@gmail.com] Sent: woensdag 22 april 2009 0:37 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] csc task to build 32bit exe and not "Any CPU" hey all How does on specify to csc task to build a 32bit exe ? My .net application has to be 32 bit because it uses some PInvoke on native dlls for which I only have 32bit version native dlls. In Visual studio I can specify Platform target as x86, Is there an nant equivalent ? Thanks Raj -- View this message in context: http://www.nabble.com/csc-task-to-build-32bit-exe-and-not-%22Any-CPU%22-tp23 166181p23166181.html Sent from the NAnt - Users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.285 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users