Problem 1, Slingshot - I have the following .build file:

 

<?xml version="1.0"?>

<project name="Test" default="slingshot">

<slingshot format="nant" output="Slingshot.build" solution="C:\Test\Test.sln">

  <parameters>

    <option name="build.basedir" value="."/>

  </parameters>

</slingshot>

</project>

 

when I run nant, I get the following message:

 

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///D:/Test/test.build

Target(s) specified: slingshot

 

BUILD FAILED

 

D:\Test\test.build(3,2):

Invalid element <slingshot>. Unknown task or datatype.

 

Total time: 0 seconds.

 

I have nantcontrib (0.84) but I haven't built it.

 

Problem 2, Solution - Given I couldn't get slingshot to work, I tried this .build file:

 

<?xml version="1.0"?>

<project name="Test" default="solution">

<solution solutionfile="test.sln" configuration="debug" outputdir="c:\test\bin\debug"/>

</project>

 

when I run nant I get the following message:

 

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///D:/Test/test.build

Target(s) specified: solution

 [solution] Starting solution build.

 

BUILD FAILED

 

Error checking whether 'http://localhost/Test/test.vbproj' is an enterprise template project.

 The remote server returned an error: (403) Forbidden.

 

Total time: 0.1 seconds.

 

The solution contains 3 projects: data, business and presentation tiers.  It seems that nant is trying to access test.vbproj via http and is being denied - how do you build solutions that contain an ASP.NET Web Application?

 

I'm running WindowsXP Professional Version 2002 SP1

 

Any help would be greatly appreciated.

 

Reply via email to