Gentlemen:

 

Received following error while attempting to build nant.  I added a line to the .build file to define a value for “nant.settings.currentframework”:

 

<property name="nant.settings.currentframework" value="net-1.1" />

 

I do not have .Net Framework 1.0 installed on my machine.  I only have .Net Framework 1.1 installed.  Build attempt would fail on first invocation of csc if I tried to run against .build without adding the line.  With the added line it will run until the line below where it fails.  I probably didn’t setup the pointer to framework dir correctly.

 

Thanks

Tom Cassidy

 

 

     [nant] C:\000 Code\nant-0.84\tests\NAnt.Core\NAnt.Core.build build

 

            Buildfile: file:///C:/000 Code/nant-0.84/tests/NAnt.Core/NAnt.Core.build

            Target(s) specified: build

 

            build:

 

                  [csc] Compiling 42 files to C:\000 Code\nant-0.84/build/net-1.1.win32/nant-0.84-debug/bin/NAnt.Core.Tests.dll.

 

            BUILD FAILED

 

            INTERNAL ERROR

 

            System.NotSupportedException: The given path's format is not supported.

   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)

   at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFullPath)

   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)

   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)

   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

   at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName)

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()

 

            Please send bug report to [EMAIL PROTECTED].

 

            Total time: 0.2 seconds.

 

 

BUILD FAILED

 

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

 

Total time: 13.9 seconds.

 

 

 

Reply via email to