TF10128 - Path contains more than the allowed 259 characters.<p align=left><font face=Arial size=2>In Orcase Beta2, I tried to do a check out today from Team Foundation Source Control Explorer and encountered this error:</font></p> <p align=left> </p> <p align=left>TF10128 - Path contains more than the allowed 259 characters.</p> <p align=left> </p> <p align=left> </p> <p align=left>We try to use the Microsoft assembly naming conventions so a given assembly might be have a lengthy path like </p> <p align=left> </p> <p align=left>$(RootPath)</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>CT.Clients (Container)</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>CT.Clients.Query.Hierarchal (Container)<br>           CT.Clients.Query.Hiercharchal.Exporters.Print (Project)</p></blockquote></blockquote> <p align=left> </p> <p align=left>I assumed that TFS / Orcas used unicode paths so this would never been an issue.   Java can have lengthy packages/namespaces so shouldn't TFS / .NET be able to as well?</p> <p align=left> </p> <p align=left>What is the best way way to address this issue?</p> <p align=left> </p> <p align=left>thanks!</p> <p align=left> </p> <p align=left>scottm</p>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Oct 2008 21:39:48 Z919c0c17-c08f-46a8-8e99-0b237f78821dhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#919c0c17-c08f-46a8-8e99-0b237f78821dhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#919c0c17-c08f-46a8-8e99-0b237f78821dscott_mhttp://social.msdn.microsoft.com/Profile/en-US/?user=scott_mTF10128 - Path contains more than the allowed 259 characters.<p align=left><font face=Arial size=2>In Orcase Beta2, I tried to do a check out today from Team Foundation Source Control Explorer and encountered this error:</font></p> <p align=left> </p> <p align=left>TF10128 - Path contains more than the allowed 259 characters.</p> <p align=left> </p> <p align=left> </p> <p align=left>We try to use the Microsoft assembly naming conventions so a given assembly might be have a lengthy path like </p> <p align=left> </p> <p align=left>$(RootPath)</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>CT.Clients (Container)</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>CT.Clients.Query.Hierarchal (Container)<br>           CT.Clients.Query.Hiercharchal.Exporters.Print (Project)</p></blockquote></blockquote> <p align=left> </p> <p align=left>I assumed that TFS / Orcas used unicode paths so this would never been an issue.   Java can have lengthy packages/namespaces so shouldn't TFS / .NET be able to as well?</p> <p align=left> </p> <p align=left>What is the best way way to address this issue?</p> <p align=left> </p> <p align=left>thanks!</p> <p align=left> </p> <p align=left>scottm</p>Mon, 22 Oct 2007 20:22:18 Z2007-10-23T19:26:40Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#b40616f2-f046-403a-a9a3-f385e9bea97ehttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#b40616f2-f046-403a-a9a3-f385e9bea97eEugene Zakhareyevhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eugene%20ZakhareyevTF10128 - Path contains more than the allowed 259 characters.Unfortunately, as far as I know the limitation is not going away in Orcas. <p align=left><font face=Arial size=2>And the best way to address that would be to use shorter path (at the repository planning stage). Also you need to take care how you name your branches (as it might easily overstep the 260 boundary).</font></p> <p align=left> </p> <p align=left>By the way, what do you mean by Microsoft assembly naming convention? I thought usually the idea is to make the folders according to the namespace:</p> <p align=left> </p> <p align=left>$(RootPath) = CT</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Clients</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>HierarchicalQuery</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Exporters</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Print</p></blockquote> <p align=left> </p> <p> </p></blockquote></blockquote></blockquote> <p align=left></p>Cheers, EugeneTue, 23 Oct 2007 00:38:34 Z2007-10-23T19:26:40Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#77269084-79d2-4cd4-9b3b-96d77aa16d0fhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#77269084-79d2-4cd4-9b3b-96d77aa16d0fscott_mhttp://social.msdn.microsoft.com/Profile/en-US/?user=scott_mTF10128 - Path contains more than the allowed 259 characters.<p align=left><font face=Arial size=2></font> </p>Thanks for the info.  I guess its just frustrating as we never had this problem back in the old SVN / CVS - Java days.Tue, 23 Oct 2007 01:52:59 Z2007-10-23T01:52:59Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#005c5948-106c-411e-bb5f-947022674e5chttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#005c5948-106c-411e-bb5f-947022674e5cscott_mhttp://social.msdn.microsoft.com/Profile/en-US/?user=scott_mTF10128 - Path contains more than the allowed 259 characters.<p align=left><font face=Arial size=2></font> </p> <p>The tough thing is that TFS tries to create a new folder in the TFS tree using the full project name.  So if you have a long project/assembly name, you get a long folder name in TFS as well.  You have to override this TFS naming behavior using the advanced button during initial checkin.</p> <p align=left> </p> <p align=left> </p>Wed, 24 Oct 2007 16:43:04 Z2007-10-24T16:43:04Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#b47608b6-6a1f-4069-890c-83993fc71d5ehttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/919c0c17-c08f-46a8-8e99-0b237f78821d#b47608b6-6a1f-4069-890c-83993fc71d5eEugene Zakhareyevhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eugene%20ZakhareyevTF10128 - Path contains more than the allowed 259 characters.<p>Overall, I would not use the naming schema you have outlined in your first post (even without repository issue). I'd say it is over-informative - one does not need the whole namespace at every single level of the hierarchy.</p> <p align=left> </p> <p align=left>Cheers, Eugene </p> <p align=left><font face=Arial size=2></font> </p>Wed, 24 Oct 2007 16:46:23 Z2007-10-24T16:46:23Z