It is not necessary to "build" NAnt before using. The instructions must either be wrong or misleading. Think about it - if NAnt can "build" itself, doesn't that mean it is already built?

--
Get Firefox!
http://www.spreadfirefox.com/?q=affiliates&id=26755&t=1

Kirti Krishnaswamy wrote:
Hi,

I am brand new to NAnt, hence pls bear with me. I downloaded the src and the bin 
compressed folders. I tried to build it as per instructions, but ran into a build 
problem. It generates a build log, but I am unable to locate it. I have cut and pasted 
the output below. Can anybody please help ?

C:\DOTNET\NANT\NANT-BIN\BIN>Nant
NAnt 0.85 (Build 0.85.1714.0; net-1.0.win32; nightly; 10/09/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/DOTNET/NANT/NANT-BIN/BIN/NAnt.build
Target(s) specified: test

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

init:


debug:


set-framework-configuration:


set-net-1.1-framework-configuration:


create-common-assemblyinfo:

   [attrib] Setting file attributes for 1 files to Normal.
  [asminfo] Generated file 'C:\DOTNET\NANT\NANT-BIN\BIN\src\CommonAssemblyInfo.c
s'.

build:

     [echo] Build Directory is C:\DOTNET\NANT\NANT-BIN\BIN/build/net-1.1.win32/n
ant-0.85-debug
     [nant] C:\DOTNET\NANT\NANT-BIN\BIN\src\NAnt.Core\NAnt.Core.build build
            Buildfile: file:///C:/DOTNET/NANT/NANT-BIN/BIN/src/NAnt.Core/NAnt.Co
re.build
            Target(s) specified: build


build:

                  [csc] Compiling 146 files to 'C:\DOTNET\NANT\NANT-BIN\BIN\buil
d\net-1.1.win32\nant-0.85-debug\bin\NAnt.Core..dll'.
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\Filters\Suppor
t\FilterBuilder.cs(77,9): error CS0647: Error emitting 'System.Security.Permissi
ons.ReflectionPermissionAttribute' attribute -- 'Unexpected exception processing
 attribute -- System.ArgumentException: Unable to generate permission set; input
 XML may be malformed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\Tasks\LoadTask
s.cs(120,9): error CS0647: Error emitting 'System.Security.Permissions.Reflectio
nPermissionAttribute' attribute -- 'Unexpected exception processing attribute --
 System.ArgumentException: Unable to generate permission set; input XML may be m
alformed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\Tasks\NAntSche
maTask.cs(103,9): error CS0647: Error emitting 'System.Security.Permissions.Refl
ectionPermissionAttribute' attribute -- 'Unexpected exception processing attribu
te -- System.ArgumentException: Unable to generate permission set; input XML may
 be malformed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\Util\CommandLi
neArgument.cs(272,9): error CS0647: Error emitting 'System.Security.Permissions.
ReflectionPermissionAttribute' attribute -- 'Unexpected exception processing att
ribute -- System.ArgumentException: Unable to generate permission set; input XML
 may be malformed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\BuildException
.cs(142,9): error CS0647: Error emitting 'System.Security.Permissions.SecurityPe
rmissionAttribute' attribute -- 'Unexpected exception processing attribute -- Sy
stem.ArgumentException: Unable to generate permission set; input XML may be malf
ormed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\ConsoleDriver.
cs(419,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionP
ermissionAttribute' attribute -- 'Unexpected exception processing attribute -- S
ystem.ArgumentException: Unable to generate permission set; input XML may be mal
formed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\ConsoleDriver.
cs(451,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionP
ermissionAttribute' attribute -- 'Unexpected exception processing attribute -- S
ystem.ArgumentException: Unable to generate permission set; input XML may be mal
formed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\DataTypeBaseBu
ilder.cs(77,9): error CS0647: Error emitting 'System.Security.Permissions.Reflec
tionPermissionAttribute' attribute -- 'Unexpected exception processing attribute
 -- System.ArgumentException: Unable to generate permission set; input XML may b
e malformed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\TaskBuilder.cs
(97,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionPerm
issionAttribute' attribute -- 'Unexpected exception processing attribute -- Syst
em.ArgumentException: Unable to generate permission set; input XML may be malfor
med..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\TypeFactory.cs
(92,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionPerm
issionAttribute' attribute -- 'Unexpected exception processing attribute -- Syst
em.ArgumentException: Unable to generate permission set; input XML may be malfor
med..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\TypeFactory.cs
(107,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionPer
missionAttribute' attribute -- 'Unexpected exception processing attribute -- Sys
tem.ArgumentException: Unable to generate permission set; input XML may be malfo
rmed..'
                  [csc] c:\dotNet\Nant\nant-bin\bin\src\NAnt.Core\TypeFactory.cs
(174,9): error CS0647: Error emitting 'System.Security.Permissions.ReflectionPer
missionAttribute' attribute -- 'Unexpected exception processing attribute -- Sys
tem.ArgumentException: Unable to generate permission set; input XML may be malfo
rmed..'

            BUILD FAILED

            C:\DOTNET\NANT\NANT-BIN\BIN\src\NAnt.Core\NAnt.Core.build(11,10):
            External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.432
2\csc.exe (return code was 1)

            Total time: 7.3 seconds.


BUILD FAILED

Nested build failed.  Refer to build log for exact reason.

Total time: 8.8 seconds.





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to