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文件签入了,害死我了。。。
<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文件签入了,害死我了。。。
作者:george.hu
出处:http://www.cnblogs.com/georgehu/
本文版权归作者,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
胡乔治。