Could it be that you're using a different (old) version of NAnt on your build machine ?
Gert ----- Original Message ----- From: "Nitin Agarwal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 8:48 PM Subject: [Nant-users] Nant not working - Property 'nant.platform.name' has not been set! I have created a build file for compiling my application. The build file is using the <solution> task for building the project and its working fine on my machine. But when I try to build the solution on a build machine (separate machine we use for building the solution and creating setup), I get the following error: Unknown task <solution> Also, when I try to build nant source itself on that machine, I get the following error. C:\Nant\NAnt.build(3,6): Property 'nant.platform.name' has not been set! When I set this property in the nant command using -D option, the nant build goes a little further but fails with the following error: [foreach] Failed to created Task for 'nant' xml element for reason: C:\Nant\NAnt.build(89,14): Property 'nant.platform.win32' has not been set!: SourceForge.NAnt.BuildException: C:\Nant\NAnt.build(89,14): Property 'nant.platform.win32' has not been set! at SourceForge.NAnt.PropertyDictionary.ExpandProperties(String input, Locatio n location) Please help. Thanks. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users