You need to install both the x64 and x32 version of the .net framework. You can skip the MSBuild and call the CSC for csharp compiler, passing in all the reverences, in the x32 or x64 as desired. You may need to call the compiler through the command line instead of the <csc> task.
Hope this helps -----Original Message----- From: Dominik Guder [mailto:o...@guder.org] Sent: Wednesday, August 31, 2011 8:48 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Targeting .net 2.0 x86 on x64 machine Hi folks, I'm going crazy. I don't have any idea how to achieve my issue: We are moving to Win7 x64 machines. And some of our older projets must be built for .net 2.0 x86. I can't get this done neither with nant nor with msbuild itself. Is anybody out there who has managed this issue? Thanks so far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) ------------------------------------------------------------------------ ------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users CONFIDENTIALITY STATEMENT: This email message, together with all attachments, is intended only for the individual or entity to which it is addressed and may contain legally privileged or confidential information. Any dissemination, distribution or copying of this communication by persons or entities other than the intended recipient, is strictly prohibited, and may be unlawful. If you have received this communication in error please contact the sender immediately and delete the transmitted material and all copies from your system, or if received in hard copy format, return the material to us via the United States Postal Service. Thank you. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users