[Mono-devel-list] Detecting Mono
cpoole at pooleconsulting.com
Sun Feb 15 14:02:21 EST 2004
I'm working under Windows to develop the next release of NUnit, and I'm
testing under Mono as well as MS .NET.
In order to be sure I'm running under mono in a particlular test execution,
typeof( System.Object ).Assembly.CodeBase and looking for "Mono" in the
This is pretty kludgy and only of course depends on the location in which
I've installed Mono.
Any better suggestions?
cpoole at pooleconsulting.org
More information about the Mono-devel-list