[Mono-list] Anyone ever tried to run NAnt on mono on Windows?

Atsushi Eno atsushi at ximian.com
Thu Dec 1 21:18:33 EST 2005


Anyone ever tried to run NAnt on mono on Windows?  It complains
that I don't have Registry key:

Unhandled Exception: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. ---> The
current runtime framework 'mono-2.0' is not correctly configured in the
NAnt configuration file.:
NAnt.Core.BuildException: The current runtime framework 'mono-2.0' is
not correctly configured in the NAnt configuration file. ---> Registry
Path Not Found! -
key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';:
NAnt.Core.BuildException: Registry Path Not Found! -
key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';
in <0x00184> NAnt.Win32.Tasks.ReadRegistryTask:LookupRegKey
(System.String key,Microsoft.Win32.RegistryHive[] registries)
in <0x00056> NAnt.Win32.Tasks.ReadRegistryTask:ExecuteTask ()

I just fixed a bug on our MS.Win32 registry code, but now I
wonder if there is another bug in Mono, or am just missing
something.

Atsushi Eno


More information about the Mono-list mailing list