> > 2) Under Windows, is there a way of adjusting how do you tell NAnt / your > > buildfile to target the 1.0 platform or the 1.1 platform without adjusting > > the .config file? > There are two ways:
1. Use: -defaultframework option (-k is the short form). For example: nant -k:net-1.1 -f:aaa.build // will build for .NET 1.1 nant -k:net-1.0 -f:aaa.build // will build for .NET 1.0 nant -k:mono-1.0 -f:aaa.build // will build for Mono 2. Set the "nant.settings.currentframework" property at the beginning of your project file: <project> <property name="nant.settings.currentframework" value="net-1.1" /> ... </project> Jarek ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users