Michael, Can you please try the same using a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) and get back to me with the results ?
Thanks for the report, Gert ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 26, 2003 7:48 AM Subject: [nant-dev] <solution> throws exception on path with backslashes > Hi, > > Here is the exception (I use NAnt version 0.8.3) caused by the fallowing > line: > <solution configuration="Debug" > solutionfile="\MySolution\Infrastructure\Utilities\Utilities.sln"> > </solution> > > I suspect backslashes. However the very same path works fine for > > > <exec > program="${VS.devenv.path}devenv.exe" > basedir="${MySolution.path}" > commandline= "/build Debug > \MySolution\Infrastructure\Utilities\Utilities.sln" > /> > > Please advise. > Regards, > Michael Kariv > > ----------------------------- > INTERNAL ERROR > > System.NotSupportedException: The given path's format is not supported. > at System.Security.Util.StringExpressionSet.CanonicalizePath(String > path, Boo > lean needFullPath) > at System.Security.Util.StringExpressionSet.AddExpressions(String[] > str, Bool > ean checkForDuplicates, Boolean needFullPath) > at > System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionA > ccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean > needFul > lPath, Boolean copyPathList) > at > System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess > access, String[] pathList, Boolean checkForDuplicates, Boolean > needFullPath) > at System.IO.DirectoryInfo..ctor(String path) > at NAnt.VSNet.Tasks.ConfigurationSettings..ctor(ProjectSettings ps, > XmlElemen > t elemConfig) > at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) > at NAnt.VSNet.Tasks.Reference..ctor(Solution sln, ProjectSettings ps, > XmlElem > ent elemReference, Task nanttask) > at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) > at NAnt.VSNet.Tasks.Solution.LoadProjects() > at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, > ArrayList alAd > ditionalProjects, ArrayList alReferenceProjects, TempFileCollection tfc, > Task na > nttask) > at NAnt.VSNet.Tasks.SolutionTask.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() ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers