> We are aware of this, and we need to look into automatic selection of the
> correct framework, but this might not be easy as I don't think its
possible
> to find out if the current framework is Mono or .NET. on Windows.
It is possible. This does the trick:
if (Type.GetType("Mono.Runtime", false) != null)
{
// mono
}
else
{
// not mono
}
P.S. This trick, along with some minor changes could allow us to have a full
binary release of NAnt that would work for all platforms. What do you think?
Jarek
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers