【问题标题】:_CleanGetCurrentAndPriorFileWrites Failing on Teamcity_CleanGetCurrentAndPriorFileWrites 在 Teamcity 上失败
【发布时间】:2013-05-01 13:48:43
【问题描述】:

我有一个天蓝色的网络工作者,我正试图通过 teamcity 部署它。在构建服务器上部署其他 web worker 项目没有问题。该项目可以在 Visual Studio 中正常部署。当我尝试在团队城市部署项目时,我收到错误消息:

[14:32:25][Web.UI.Azure\Web.UI.Azure.ccproj.teamcity] _CleanGetCurrentAndPriorFileWrites
[14:32:25]  [_CleanGetCurrentAndPriorFileWrites] FindUnderPath
[14:32:25]    [FindUnderPath] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4017, 5): error MSB3541: Files has invalid value "csx\Release\**\__entrypoint.txt". Illegal characters in path.
[14:32:25][Web.UI.Azure\Web.UI.Azure.ccproj.teamcity] Project Web.UI.Azure\Web.UI.Azure.ccproj.teamcity failed.

我已尝试确定项目之间的差异,但看不到相关差异。

什么可能导致构建过程以这种方式失败?

【问题讨论】:

    标签: azure visual-studio-2012 teamcity continuous-deployment


    【解决方案1】:

    视觉工作室项目中的错误归结为这一行:

    <Content Include="**\*.html" />
    

    其中一个文件路径长度为 165 个字符,缩短文件路径解决了问题。它没有解释为什么部署在 Visual Studio 而不是在 Team City 中有效,但至少它现在在任何地方都有效。

    【讨论】:

      猜你喜欢
      • 2020-01-19
      • 2019-06-28
      • 2018-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-15
      相关资源
      最近更新 更多