Hi a couple of (probably obvious) questions from someone new to all this (TIA):

1/ Cannot build nant 0.84

Getting the following error trying to build:

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

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

Buildfile: file:///C:/nant/NAnt.build

Target(s) specified: test

[echo] Using 'net-1.1' framework on 'win32' platform.

 

build:

[csc] Compiling 113 files to C:\nant/build/net-1.1.win32/nant-0.84-debug/bin/N

c:\nant\src\NAnt.Core\Attributes\TaskFileSetAttribute.cs(28,37): error C

mespace name 'BuildElementAttribute' could not be found (are you missing a using dir

reference?)

c:\nant\src\NAnt.Core\Attributes\TaskOptionSetAttribute.cs(27,39): error

namespace name 'BuildElementAttribute' could not be found (are you missing a using d

ly reference?)

c:\nant\src\NAnt.Core\FileList.cs(33,29): error CS0246: The type or name

could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\FileSet.cs(30,28): error CS0246: The type or names

ould not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\FileSet.cs(212,33): error CS0246: The type or name

could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\OptionSet.cs(55,29): error CS0246: The type or nam

could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\OptionSet.cs(111,26): error CS0246: The type or na

' could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\TaskFactory.cs(32,16): error CS0246: The type or n

ilderCollection' could not be found (are you missing a using directive or an assembl

c:\nant\src\NAnt.Core\TaskFactory.cs(74,39): error CS0246: The type or n

t' could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\TaskFactory.cs(87,23): error CS0246: The type or n

ilderCollection' could not be found (are you missing a using directive or an assembl

c:\nant\src\NAnt.Core\TaskFactory.cs(119,56): error CS0246: The type or

ct' could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\TaskFactory.cs(129,57): error CS0246: The type or

ct' could not be found (are you missing a using directive or an assembly reference?)

c:\nant\src\NAnt.Core\OptionSet.cs(119,8): error CS0246: The type or nam

ibute' could not be found (are you missing a using directive or an assembly referenc

c:\nant\src\NAnt.Core\OptionSet.cs(128,8): error CS0246: The type or nam

ibute' could not be found (are you missing a using directive or an assembly referenc

BUILD FAILED

C:\nant\src\NAnt.Core\NAnt.Core.build(11,10):

gram Failed: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1)

Total time: 3.4 seconds.

2/

Also Id like to run the slingshot task ... Does anyone have a sample build file and info on how to install....get the following error using this file (probably the format is wrong in this also)...

<?xml version="1.0"?>

<project name="Test" default="build" basedir=".">

<slingshot solution="c:\mysoln.sln" format="nant" output="MySolution.build">

<parameters>

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

</parameters>

</slingshot>

</project>

BUILD FAILED

INTERNAL ERROR

System.IO.FileNotFoundException: File or assembly name SLiNgshoT.Core, or

its dependencies, was not found.

File name: "SLiNgshoT.Core"

at NAnt.Contrib.Tasks.SlingshotTask.ExecuteTask()

at NAnt.Core.Task.Execute()

at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)

at NAnt.Core.Project.Execute()

at NAnt.Core.Project.Run()

=== Pre-bind state information ===

LOG: DisplayName = SLiNgshoT.Core, Version=0.84.1455.0, Culture=neutral,

eyToken=null

(Fully-specified)

LOG: Appbase = C:\nant\bin\

LOG: Initial PrivatePath = NULL

Calling assembly : NAnt.Contrib.Tasks, Version=0.84.1455.0, Culture=neutr

licKeyToken=null.

===

LOG: Policy not being applied to reference at this time (private, custom,

l, or location-based assembly bind).

LOG: Post-policy reference: SLiNgshoT.Core, Version=0.84.1455.0, Culture=

, PublicKeyToken=null

LOG: Attempting download of new URL file:///C:/nant/bin/SLiNgshoT.Core.DL

LOG: Attempting download of new URL file:///C:/nant/bin/SLiNgshoT.Core/SL

.Core.DLL.

LOG: Attempting download of new URL file:///C:/nant/bin/SLiNgshoT.Core.EX

LOG: Attempting download of new URL file:///C:/nant/bin/SLiNgshoT.Core/SL

.Core.EXE.

 

Please send bug report to [EMAIL PROTECTED]

Total time: 0.2 seconds.



________________________________________________

Message sent using Dodo Internet Webmail Server
------------------------------------------------------- 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

Reply via email to