Build/Test Issues

Console tool does not handle long paths

Started by arkiaconsulting on 3 views

I'm using nCrunch console and MCP from my AI agent client, by using git worktrees.

when in a worktree, I get a System.IO.PathTooLongException.

System.IO.PathTooLongException: The path 'D:\WK\11480\51\.worktrees\feat-worktree-cuddly-goggles\<long_path_that_i_cannot_sorten>\MyClass.g.cs'
at nCrunch.Common.IO.DiskPath..ctor(String absolutePath, Boolean pathIsChecked)


- dotnet build => OK
- VS build => OK
- nCrunch from VS => OK
- nCrunch console tool KO

PS: the registry key LongPathsEnabled is set, and the git config core.longpaths as well.

Does the console tool handle long paths the same way nCrunch VS does ?

Edited

Post a reply

Log in to reply.