0

一个新的 Jenkins 构建正在尝试在 Bitbucket 中构建一个功能分支,该分支是主分支的附属物,并且超出了文件路径名阈值,如以下错误所示:

    error message:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.targets(3007,5): error : Copying file 
App_Config\Include\Serialization\Master\xxxxxxx.xxxxxxx.Serialization.Master.Content.GlobalConfiguration.Release.config.disabled to 
obj\Release\Package\PackageTmp\App_Config\Include\Serialization\Master\xxxxxxx.xxxxxxx.Serialization.Master.Content.GlobalConfiguration.Release.config.disabled failed. 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.

似乎有几个人遇到了类似的事情,但我没有找到真正有帮助的解决方案。我们的软件版本

  • Visual Studio 构建工具 2017 15.8.28010.2048
  • MSBuild 版本 14.0
4

0 回答 0