I got this error with this line:

<exec program="csc /t:library /platform:x86
/addmodule:../Shared/NMathShared.netmodule
/addmodule:../Kernel/NMathKernel.netmodule /out:NMathCore.dll *.cs"/>

The execution works fine from the command-line. Should I be escaping
characters there? 

BTW, I'm doing this 'cause I don't see a platform option on csc yet. I'm
using a nightly build from a few days ago.
   
                        INTERNAL ERROR

                        System.ArgumentException: Illegal characters in
path.
                           at
System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[]
str)
                           at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAcc
ess access, AccessControlActions control, String[] pathListOrig, Boolean
checkForDuplicates, Boolean needFullPath, Boolean copyPathLis
t)
                           at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
                           at System.IO.Path.GetFullPath(String path)
                           at NAnt.Core.Project.GetFullPath(String path) in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Project.cs:line 1090
                           at NAnt.Core.Tasks.ExecTask.get_ProgramFileName()
in d:\Source\nant-20060318T151816Z\src\NAnt.Core\Tasks\ExecTask.cs:line 200
                           at
NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:l
ine 323
                           at NAnt.Core.Tasks.ExecTask.ExecuteTask() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Tasks\ExecTask.cs:line 298
                           at NAnt.Core.Task.Execute() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Task.cs:line 171
                           at NAnt.Core.TaskContainer.ExecuteChildTasks() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\TaskContainer.cs:line 121
                           at NAnt.Core.TaskContainer.ExecuteTask() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\TaskContainer.cs:line 87
                           at NAnt.Core.Tasks.IfTask.ExecuteTask() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Tasks\IfTask.cs:line 363
                           at NAnt.Core.Task.Execute() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Task.cs:line 171
                           at NAnt.Core.Target.Execute() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Target.cs:line 247
                           at NAnt.Core.Project.Execute(String targetName,
Boolean forceDependencies) in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Project.cs:line 910
                           at NAnt.Core.Project.Execute() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Project.cs:line 862
                           at NAnt.Core.Project.Run() in
d:\Source\nant-20060318T151816Z\src\NAnt.Core\Project.cs:line 947

                        Please send bug report to
[EMAIL PROTECTED]

--
Trevor Misfeldt
[EMAIL PROTECTED]
http://www.centerspace.net
 




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to