Re: [Mono-dev] Detecting 4.0 Support

2010-07-21 Thread Robert Jordan
Hi Charlie, On 20.07.2010 21:43, Charlie Poole wrote: > Hi All, > > How can I detect that Mono support for .NET 4.0 is available. Check whether $mono-prefix/lib/mono/4.0/mscorlib.dll exists. > > 1) If I'm already running under Mono $mono-prefix can be indirectly determined from typeof(

[Mono-dev] Detecting 4.0 Support

2010-07-20 Thread Charlie Poole
Hi All, How can I detect that Mono support for .NET 4.0 is available. 1) If I'm already running under Mono 2) If I'm not but deciding how to launch a mono process More info - in case it helps... NUnit has to decide what runtimes to make available. It does so while running under the initial runt