NAnt detects the OS and the version of .NET it's running on and automatically sets the "nant.settings.currentframework" property based on this. For example when running on .NET 1.0 it will set "net-1.0" framework, on mono it will be "mono-1.0".
If you have two frameworks installed .NET 1.1 will be used. This is based on the rules stored in NAnt.exe.config: <startup> <supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v1.0.3705" /> </startup> See MSDN for more information on <supportedRuntime>. NAnt is compiled using csc.exe from .NET 1.0. This lets it run on .NET 1.0, .NET 1.1 and later because they are backward-compatible (well - most of the time) Jarek ----- Original Message ----- From: "Collier, Mike" <[EMAIL PROTECTED]> To: "'Blokhin, Oleg'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 12:57 AM Subject: RE: [Nant-users] .NET Framework Version > I believe NAnt uses version 1.0 of the .NET framework by default. You can > change to use a specific version by setting the > "nant.settings.currentframework" property. For example, <property > name="nant.settings.currentframework" value="net-1.1"/> will cause .NET > framework version 1.1 to be used. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Blokhin, Oleg > Sent: Tuesday, May 25, 2004 2:33 PM > To: [EMAIL PROTECTED] > Subject: [Nant-users] .NET Framework Version > > > > Hello, > > If user has two frameworks installed on his machine, is there a way to see > which one used by default? > > Correct me if my question sounds wrong. > > Many Thanks, > > Oleg > > > > > _____ > > > From: steve gupta [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 25, 2004 5:54 AM > To: [EMAIL PROTECTED] > Subject: [Nant-users] cvs update issues > > > > My issue with the cvs update functions this week is that if I am trying > > to do an update on a module and there is an empty non cvs directory > > or empty cvs directory the update fails. > > > > Any workarounds or is this fix in a newer build than the one I am using? > > > > Thanks! > > > > ----------- > The information contained in this e-mail message, and any attachment, is > confidential and for use solely by the intended recipient. If you have > received this message in error, please delete this message immediately. > Although Moody's KMV makes every effort to protect its computing environment > from malicious code, Moody's KMV is not responsible for any virus or other > type of suspect code that may be transferred via this e-mail message. > > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users