Getting TF205022: The following path contains more than the allowed 259 characters in Xcode and TFS

前端 未结 1 852
感动是毒
感动是毒 2021-01-19 02:56

As suggested by https://www.visualstudio.com/en-us/docs/tfvc/share-your-code-in-tfvc-xcode I am putting my existing code to TFVC using git-tf. But my paths are deep. During

相关标签:
1条回答
  • 2021-01-19 03:32

    Even though the path length limitation is really annoying, the most effective and easy way still is spending some time tweaking your file/folder structure to make this work.

    For example: instead of \xx\Build\Drop\ProjectName, just use \xx\Build\Drop (or \xx\Builds) since the project name is also in the build name.

    For the long path issue in TFS, there had been a related uservoice and now completed. However, it's still a problem in some areas.

    Fix 260 character file name length limitation

    We’ve removed the limitation from the BCL for the basic file manipulation functionality (CRUD). You can find more details here:

    https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2/

    Immo Landwerth Program Manager .NET

    Also suggest you to take a look at this great blog-TFS Path Too Long problems for how to deal with the issue.

    In short currently its the TFVC limitation, from https://www.visualstudio.com/en-us/docs/reference/naming-restrictions#version-control-paths

    Must not contain more than 259 Unicode characters for a single folder or file name.
    
    0 讨论(0)
提交回复
热议问题