> -----Original Message----- > From: ptr2009 [mailto:ptrajku...@gmail.com] > Sent: vrijdag 13 februari 2009 3:20 > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] configure-from-registry for profile Mono 3.5 Profile > > > hey all > > I am trying to run nant against mono-3.5 on a windows machine on which I > have copied all mono files/folders without performing an actual mono > installation. > > While running nant chokes on <target name="configure-from-registry"> > trying to read SOFTWARE\Novell\Mono\DefaultCLR registry key in > Nant.exe.config > > I can fix this issue by removing all readregistry calls in this profile > and setting sdkInstallRoot , frameworkAssemblyDirectory, configDir myself > because i know these paths relative to nant::get-base-directory. > > If possible I would like to avoid this so that I can upgrade to the > latest version of nant as and when they are released without editing the > exe.config > > My questions are > > 1) Is there a different way to achieve the same behavior.
No, we could add a fallback mechanism where we'd check if mono.exe is in the PATH, and deduce all other path information from that. > 2) Does nant allow you to define custom frameworks without modifying > Nant.exe.config ? No, and AFAIK you're the first one to request such a feature. It has crossed my mind before, but I haven't had time to look into it yet. Gert ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users