获取 TF205022:以下路径包含超过 Xcode 和 TFS 中允许的 259 个字符
Getting TF205022: The following path contains more than the allowed 259 characters in Xcode and TFS
根据 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
尽管路径长度限制真的很烦人,但最有效和简单的方法仍然是花一些时间调整你的file/folder结构 使这项工作。
例如:而不是\xx\Build\Drop\ProjectName
,只需使用\xx\Build\Drop
(或\xx\Builds
) 因为项目名称也在构建名称中。
对于TFS中的长路径问题,之前有相关的用户反馈,现已完成。但是,在某些地区仍然存在问题。
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
还建议您查看这个很棒的博客-TFS Path Too Long problems 了解如何处理该问题。
简而言之,目前是 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.
根据 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
尽管路径长度限制真的很烦人,但最有效和简单的方法仍然是花一些时间调整你的file/folder结构 使这项工作。
例如:而不是\xx\Build\Drop\ProjectName
,只需使用\xx\Build\Drop
(或\xx\Builds
) 因为项目名称也在构建名称中。
对于TFS中的长路径问题,之前有相关的用户反馈,现已完成。但是,在某些地区仍然存在问题。
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
还建议您查看这个很棒的博客-TFS Path Too Long problems 了解如何处理该问题。
简而言之,目前是 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.