[Mono-list] Detecting Mono Under Windows

Charlie Poole charlie at nunit.com
Fri Aug 26 18:54:03 UTC 2016


Hi All,

I'd like to fix NUnit so it detects all Mono installations under Windows.

The old code, now broken, looks at the registry entry
HKLM\SOFTWARE\Novell\Mono\DefaultCLR to find the default version and
then check HKLM\SOFTWARE\Novel\Mono\<version> to find the install
root.

It looks as if this has been broken for a long time - I've only been
using Mono on Linux myself and so didn't notice.

I'd like to know what to check currently and what other settings may
have been used over the years. Ideally, NUnit should find even a quite
old installation if a new one has not replaced it.

The alternative, of course, would be to enumerate all available
versions, default to the newest and let the user select older ones if
desired.

Any advice will be appreciated.

Charlie


More information about the Mono-list mailing list