Deleting deep folders

Hi

I have been using continua for over 5 months and we love it…

We cam across a limitation today with the Delete Directory action. As part of our process we extract the super deep packages msbuild creates and re zip them at shallower depth. On cleaning the original folders we now get…


Failed to delete directory at path ‘D:\continua-agent-workspace\Ws\2047\output\content’. Could not delete tree, the following exceptions occurred: D:\continua-agent-workspace\Ws\2047\output\content\D_C\continua-agent-workspace\Ws\2047\Source\GIT-UAT-BP\XXXXX.XXXXXYYYYzzzz.Web\obj\DEV_CONSUMER\Package\PackageTmp\BrandaaaaaaaAssets\Blog\Scripts\jquery\images\eeeeee_40x100_textures_03_highlight_soft_100.png: 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.

Thanks

Rob

Hi Rob

We’ll take another look at it, but I do know we were bitten by this before… it’s windows/.net failing on file system calls. We were not able to find a way past this issue… it’s a stupid 20 year old windows limitation!

More info :

http://blogs.msdn.com/b/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton.aspx

One small thing you can do is shorten D:\continua-agent-workspace - every character counts when you only have 248!

moved topic to continua bug reports forum.