Hello all,

 

I try to create a .build file from a visual studio .net solution (.sln) file.

When I use a .build file to do this with Nant and the extra <slingshot> task I get this error :

 

“C:\projects\Macaw\TestSolution\solution.build(4,3): Unknown task <slingshot>

Try 'nant -help' for more information”

 

This is my ‘simple’ build file to convert the .sln :

 

<project default="start" name="slingshottest">

  <target name="start" description="start">

       <slingshot solution="TestSolution.sln" format="nant" output="MySolution.build">

       </slingshot>

  </target>

</project>

 

This is my command line (Nant and NantContrib folders are placed in the root of c: )

 

C:\projects\Macaw\TestSolution>\nant\bin\nant -Buildfile:solution.build

 

My question is now : how do I make this work?

Do I have to do something special with NantContrib, eg put it in the nant folder?

 

I use the latest nightly build of nant. Is slingshot part of this or do I need NantContrib?

 

Greets,

vincent

Reply via email to