Tom,

You can change the target framework on the fly by changing the value of the nant.settings.currentframework property :

http://nant.sourceforge.net/faq.html#change-targetframework

Hope this helps,

Gert

----- Original Message ----- From: "Tom Leung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 4:26 PM
Subject: [Nant-users] how to run the same nant script for targeting mono-1.0 and for .Net-1.1



I installed mono-1.0 and Ms.Net 1.1 in a computer.
Sometimes I want to compile the C# project for .Net 1.1.
Can I use the same script for mono-1.0?
How can I instruct NAnt to run the script for mono-1.0?




------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users




------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to