最近两天很郁闷 ,自动构建出了问题又查不出来原因,报了很多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文件签入了,害死我了。。。
转载于:https://www.cnblogs.com/georgehu/archive/2009/09/30/1576817.html