Hello! Thanks for info on error source. After updating nant.exe.config manually to new registry keys everything seems to work fine.
Checking the way NAnt is using for detecting presence of any framework or sdk one can conclude that there is, in my opinion, a design bug which will prevent NAnt from using new versions of any framework which is not hardcoded into config and NAnt i.e. Mono-1.0.1 (or higher) instead of Mono-1.0. The way NAnt should take for checking framework presence or sdk presence is a check for minimal version followed by automatic identification of all versions which are higher than minimum requirement. Assuming backward binary compatibility, which is almost always present, NAnt should be immune to all version changes. This could be of major importance for those using Mono as one would expect very often bug-fixes releases coming roughly every couple of months (it is really very buggy stuff right now) and it is not very realistic to expect all users to have nightly builds installed. I do not know if this possible due to other reasons but could be a good "permanent" fix to this problem. Cheers Jacek -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean Sent: Wednesday, August 18, 2004 9:59 AM To: Gert Driesen Cc: Jacek Blaszczynski; [EMAIL PROTECTED] Subject: Re: [Nant-users] Detecting Mono or "Mono-SDK" on Win Gert Driesen wrote: > Ian, > > I just found out that the new installer registers itself in a > different location (HKLM\Novell\Mono). > > I've added some info to the bug report > (http://bugzilla.ximian.com/show_bug.cgi?id=63278). Can you have a > look at it, and perhaps correct me if necessary (or make a better > proposal) ... > that looks fine. Lets wait for a reply -- and then update NAnt.exe.config appropriately to use the new settings. Ian > Gert > > ----- Original Message ----- From: "Ian MacLean" > <[EMAIL PROTECTED]> > To: "Jacek Blaszczynski" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, August 18, 2004 5:41 AM > Subject: Re: [Nant-users] Detecting Mono or "Mono-SDK" on Win > > >> Jacek Blaszczynski wrote: >> >>> Hello! >>> >>> Trying to use framework::sdk-exists for Mono-1.0 I have noticed that >>> it is not detected by NAnt on Win platform (nightly build of >>> 2004-08-04). >>> My understanding is that Mono-1.0 and 1.0.1 installation does not >>> set any standard registry entries, >> >> I'm fairly sure that the mono installers used to set those registry >> settings - maybe they no longer do so. Gert do you know any more >> about this ? >> >> >> Ian >> >>> so looking for it from NAnt will always fail. >>> Furthermore NAnt does not detect Mono runtime presence. Everything >>> is fine on SuSE 9.1 Pro though. >>> >>> As this is a bit annoying discrepancy between docs and actual >>> behaviour I would suggest to use other ways for detecting Mono or >>> just leave it to the user with proper info in documentation. >>> >>> Or am I doing anything wrong by using >>> framework::sdk-exists('Mono-1.0') ? >>> >>> Cheers >>> >>> Jacek >>> >>> >>> >> >> >> -- >> Ian MacLean, Developer, ActiveState, a division of Sophos >> http://www.ActiveState.com >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank >> Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only >> $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Nant-users mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/nant-users >> -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users