gpt4 book ai didi

tfs - TFS构建失败,甚至在项目中都没有文件的 “Could not copy file”

转载 作者:行者123 更新时间:2023-12-04 13:51:48 24 4
gpt4 key购买 nike

我已经设置了TFS Build,直到昨天为止都运行良好。从那以后,我从一个项目中收到以下错误:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" because it was not found.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" because it was not found. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" because it was not found.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" because it was not found. C:\Program Files

...and about 10 more...



错误所在的文件不在项目中或项目的任何文件夹中,找不到位置。

有人知道如何消除此错误吗?

.target文件的Ln 182处是以下内容:
<Copy SourceFiles="@(Content)" Condition="'%(Content.Link)' == ''"
DestinationFolder="$(WebProjectOutputDir)\%(Content.RelativeDir)"
SkipUnchangedFiles="true"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" />

我在解决方案中还有第二个项目,该项目几乎相同并且构建良好。

最佳答案

Grep/在整个源代码树中搜索这些文件名-必须引用它们。

关于tfs - TFS构建失败,甚至在项目中都没有文件的 “Could not copy file”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15623667/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com