Jonathan, The reason why the Mono 1.0 installation is not detected, is because the key where Mono registers itself in the registry changed after the 1.0 release (from HKLM\Software\Mono to HKLM\Software\Novell\Mono), and recent nightly builds of NAnt now only check in the new location (HKLM\Software\Novell\Mono). I'll fix that later.
The 1.0.2 Mono installation is not detected, because of the little bug in the Mono installer. Instead of setting HKLM\Software\Novell\Mono\DefaultCLR to "1.0.2", its set to "1.0" (which does not exist under HKLM\Software\Novell\Mono). I'll try not to forget to report this to paco (who maintains the Mono Windows installers). For now, you can just change the value of the DefaultCLR entry to "1.0.2". Hope this helps, Gert ----- Original Message ----- From: "Jonathan Beeston" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, October 07, 2004 11:03 AM Subject: Building for Mono > Hello. > > I have installed the Mono framework (version 1.0 and also 1.0.2) for Windows. However, I have not been able to build for either of these versions. The following text is output when I attempt a Mono build. > > LOG4NET_DIR is C:\Documents and Settings\jonathan\My > Documents\Dev\dotNET\Frameworks\logging-log4net > NANTEXE_PATH is nant.exe > BUILD_FILE is C:\Documents and Settings\jonathan\My > Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.build > NAnt 0.85 (Build 0.85.1739.0; net-1.1.win32; dev; 05/10/2004) > Copyright (C) 2001-2004 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/Documents and Settings/jonathan/My > Documents/Dev/dotNET/Frameworks/logging-log4net/log4net.build > Target(s) specified: compile-mono-1.0 > > > check-current-build-config: > > > set-build-configuration: > > > set-debug-build-configuration: > > > check-current-build-config: > > > set-build-configuration-flags: > > > check-current-build-config: > > > set-framework-configuration: > > > check-bin-dir: > > > check-doc-dir: > > > check-sdkdoc-dir: > > > check-sdkdoc-debug: > > > check-current-build-config: > > > check-build-debug: > > > check-build-defines: > > > set-net-1.1-runtime-configuration: > > > set-mono-1.0-runtime-configuration: > > > BUILD FAILED > > C:\Documents and Settings\jonathan\My > Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.include(217,10): > Target framework could not be changed. "mono-1.0" is not a valid framework > identifier. Valid values are: netcf-1.0, net-1.1 > . > > Total time: 0.4 seconds. > > > If you are able to build for Mono, can you help please? > > Thank you. > > > ----------------------------------------- > Email provided by http://www.ntlhome.com/ > > > >
