TFS里的MSB3021错误

最近两天很郁闷 ,自动构建出了问题又查不出来原因,报了很多3021的错误,按网上的方法加入了如下配置
<PropertyGroup>
    <
CustomPropertiesForBuild>OverwriteReadOnlyFiles=true</CustomPropertiesForBuild>
  </
PropertyGroup>

也不顶事,还是一样报错
还是上网查,查到一外国哥们的文章,原来如此
OK, I finally figured out the problem. I had a copy of the dlls in TFS in the bin folder of the project. That was causing the dlls to not be able to be copied from the compile location to bin. Removing them from TFS solved the problem. I wish I could say that a developer checked those dlls in but it seems that I did it. Oops.
原文地址:http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/7e3a2654-1e66-4a5a-890f-cf121abb8729

原来是自己的组员把一个DLL文件签入了,害死我了。。。

posted @   george.hu  阅读(427)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· [AI/GPT/综述] AI Agent的设计模式综述
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
点击右上角即可分享
微信分享提示