【问题标题】:Getting TF205022: The following path contains more than the allowed 259 characters in Xcode and TFS获取 TF205022:以下路径包含超过 Xcode 和 TFS 中允许的 259 个字符
【发布时间】:2017-08-10 16:21:35
【问题描述】:

正如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

【问题讨论】:

    标签: xcode tfs tfvc


    【解决方案1】:

    尽管路径长度限制真的很烦人,但最有效和最简单的方法仍然是花一些时间调整您的文件/文件夹结构来完成这项工作。

    例如:而不是\xx\Build\Drop\ProjectName,只需使用\xx\Build\Drop(或\xx\Builds),因为项目名称也在构建名称中。

    对于 TFS 中的长路径问题,有一个相关的用户语音,现已完成。但是,在某些领域仍然存在问题。

    Fix 260 character file name length limitation

    我们已从 BCL 中删除了基本文件的限制 操作功能(CRUD)。您可以在此处找到更多详细信息:

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

    Immo Landwerth 项目经理 .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.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-28
      • 1970-01-01
      • 2016-08-30
      • 2017-05-18
      • 1970-01-01
      • 1970-01-01
      • 2010-11-20
      • 1970-01-01
      相关资源
      最近更新 更多