为什么合并路径/文件限制为目录的248个字符或259个目录和文件名? [英] Why is a merge path/file limited to 248 characters for the directory or 259 for the directory and file name?
问题描述
我想知道为什么当工作区路径/文件超过目录的248个字符或259个目录和文件名时,使用TFS 2015的合并操作会导致TF14078错误? 执行"get
latest"时,我没有看到类似的问题。或使用相同的工作区执行VS构建。
我了解Windows 10之前的操作系统限制。 但是,我的客户端计算机现在有Windows 10,我仍然遇到相同的错误。
TFS服务器在带有SQL Server 2014 - SP1的Server 2008 R2上运行。
如果这是一个真正的限制,MS是否正在努力将其删除?
您可以在此处查看官方限制
https://www.visualstudio.com/en-us/docs/reference/naming-restrictions#team-foundation-版本控制
它可能与较旧的.Net版本中的限制有关。已在4.6.2中修复
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/2156195-fix-260-character-file-name-length-limitation
I'm wondering why a merge operation using TFS 2015 results in a TF14078 error when the workspace path/file exceeds 248 characters for the directory or 259 for the directory and file name? I don't see a similar problem with performing a "get latest" or performing a VS build using the same workspace.
I understand the OS limitations in place before Windows 10. However, my client computer now has Windows 10, and I still experience the same error.
The TFS server is running on Server 2008 R2 with SQL Server 2014 - SP1.
If this is a true limitation, is MS working to remove it?
you can see the official limits here https://www.visualstudio.com/en-us/docs/reference/naming-restrictions#team-foundation-version-control
It might be related to limits in older .Net versions. Fixed in 4.6.2 https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/2156195-fix-260-character-file-name-length-limitation
这篇关于为什么合并路径/文件限制为目录的248个字符或259个目录和文件名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!