Hello,
I'm trying to use NAnt predefined properties but it seems that they does not work correctly.
I have only .NET Framework 1.1 installed under the following default path: c:\WINNT\Microsoft.NET\Framework\v1.1.4322
I use a kind of test target like this:
<target name="test" description="Test build properties">
<echo message="${nant.settings.defaultframework}" />
<echo message="${nant.settings.currentframework}" />
</target>When I call NAnt with test target I get following output:
######################## OUTPUT ######################## D:\__mloskot\__PROJECTS\mLas.Inzynier\_project\mLas.Inzynier>NAnt uild test NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 2003-12-26) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net
Buildfile: file:///D:/__mloskot/__PROJECTS/mLas.Inzynier/_project
r.build
Target(s) specified: test
[echo] Using 'net-1.0' framework on 'win32' platform.test:
[echo] net-1.0
[echo] net-1.0BUILD SUCCEEDED
Total time: 0.2 seconds. ########################################################
As you can see, NAnt recognizes wrong .NET Framework on my machine:
[echo] net-1.0
[echo] net-1.0Am I doing something wrong or NAnt is giving incorrect values ?
Thanks for any help
--
Mateusz Łoskot mateusz at loskot dot net
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
