获取TF205022:以下路径包含超过Xcode和TFS中允许的259个字符

use*_*567 5 tfs xcode tfvc

正如https://www.visualstudio.com/en-us/docs/tfvc/share-your-code-in-tfvc-xcode所建议的那样,我使用git-tf将现有代码放到TFVC中.但我的道路很深.在办理登机手续时,我得到了,

git-tf: TF205022: The following path contains more than the allowed 259 characters: 
/Users/VeryLongPath
Run Code Online (Sandbox Code Playgroud)

Pat*_*SFT 7

即使路径长度限制真的令人烦恼,最有效和最简单的方法仍然是花一些时间调整文件/文件夹结构以使其工作.

例如:代替\xx\Build\Drop\ProjectName,只使用\xx\Build\Drop(或\xx\Builds),因为项目名称也在构建名称中.

对于TFS中的长路径问题,已经存在相关的用户语音,现在已完成.但是,在某些方面仍然存在问题.

修复260个字符文件名长度限制

我们已经从BCL中删除了基本文件操作功能(CRUD)的限制.你可以在这里找到更多细节:

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

Immo Landwerth项目经理.NET

还建议你看看这个伟大的博客 - TFS Path Too Long问题如何处理这个问题.

简而言之,目前它的TFVC限制来自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.
Run Code Online (Sandbox Code Playgroud)