Gert Driesen wrote:

It is sufficient to change this line:
<platform name="win32" default="net-1.0">
to:
<platform name="win32" default="net-1.1">
But this is not solution of course...



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.



but we should be able to make a decent guess based on the path to mscorlib.dll. Or better still compare that path to all the frameworks in the config file and select the first match. Since we have been pretty good at ensuring every framework has an entry in the config file this should work fine ( for windows ).

2/
mine just-built nant.exe writes:
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18.12.2003)
what is much better then prev version but incorrect (I built at net-1.1


and today is 2.1.2004)

Again, we are aware of this. For now, the version number; framework version
and configuration are hard coded, but we intend to determine these at build
time by generating the assembly level attributes from the build script ...



What needs to be done for this to happen ? I think you may have mentioned it in a prvious mail but maybe not

Ian



-------------------------------------------------------
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

Reply via email to