开发者

Do TFS 2010 builds have file path limitations?

开发者 https://www.devze.com 2023-03-31 17:43 出处:网络
We recently started getting the following error message 开发者_运维技巧in TFS 2010 automatedd builds:

We recently started getting the following error message 开发者_运维技巧in TFS 2010 automatedd builds:

C:\Builds\1\MyProject\MyProject Release\Sources\MyProject\MainLineMyProject.SharePoint.EnterpriseUI.SiteDefinition\Features\MasterPagesMyProject\MasterPagesMyProject.feature: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Initially I thought this is due to Sharepoint, but some further research points me in the TFS direction. Any way other than truncating the path around this problem?


This is indeed a TFS limitation inherited from Windows.

See here for possible workaround:

http://geekswithblogs.net/MikeParks/archive/2009/06/20/team-build-260-character-path-limit-workaround.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消