Hi,
We have additional target files that we include in our projects. These have absolute path and i think this may be the problem.
It seems that NCrunch creates a directory based on the path, and since it's absolute the drive letter should maybe be removed.
E.g.
<Import Project="A:\Targets\Custom.targets" />
We also have the same problem when linking files into a project where the filepath is absolute. Both give the same stacktrace. Probably the same issue?
[15:27:41.1084-BuildTask-14] ERROR (Internal): 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.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, 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.Directory.CreateDirectory(String path)
at nCrunch.Core.WorkspaceManagement.WorkspaceBuilder.#=q9ns7fglA2Ck2gLj7iS$5FMQ3umPMY_aRy5KlPea8vw8=(SnapshotComponentMember #=qR0BrrDqMAuDzXQfM3vTiBA==)
at nCrunch.Core.WorkspaceManagement.WorkspaceBuilder.#=qEXdfymyCLAkMr5vMRUvx7gWNMRUFqOS26OkN8lIdQHo=(IEnumerable`1 #=qnzZpiMM45Ma6eAFiBxc5rQ==)
at nCrunch.Core.WorkspaceManagement.WorkspaceBuilder.BuildWorkspaceForComponent(SnapshotComponent component, String workspacePath)
at nCrunch.Core.WorkspaceManagement.WorkspaceManager.GetWorkspaceForComponent(SnapshotComponent snapshotComponent)
at nCrunch.Core.BuildManagement.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents)
at nCrunch.Core.BuildTask.DoProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.ProcessingTask.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.ProcessingQueue.#=qElODe1hhViN21mEUKI$Fwg==(ProcessingTask #=qso0hS7WMwjN7sUci4m5Xrw==)
Is this a known issue?
I'm using version 1.36b. NCrunch is a very nice tool, keep up the good work!
Regards
Oyvind