Hi there,
I'm working with my team on a fairly large web project, with thousands of tests, and we are trying out NCrunch to see if it can help us as we are working in TDD. The tool looks very promising and we are excited with what we have seen yet.
Sadly, some assemblies aren't covered as NCrunch fails to build them. Some others have question marks on them.
Here is an error we are getting, which seems to be the root problem:
Any idea? Thanks you!
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at nCrunch.Core.ComponentLoader.SnapshotComponentFactory.#=qqd2JX6h79gzNyuwEGEi_zv_71GiUVNyNTQI2Ii0izVw=(String #=qje9ub4E0cNgQGa3PH0irpw==)
at nCrunch.Core.ComponentLoader.SnapshotComponentFactory.#=qhzH3fDgeMQNy$Q7f19YshrzzdhorlM05yRGA_P$fQ6c=()
at nCrunch.Core.ComponentLoader.SnapshotComponentFactory.CreateSnapshotComponentFromXml(String projectFilePath, String projectXml, String solutionFilePath)
I tried setting the WorkspaceBasePath property in configuration, but it didn't solve the problem. We have a lot of subfolders to structure our projects, so the paths are, as a matter of fact, probably long, but I can't change that. Is there someway to solve this, or is it simply a bug?
Jay