【发布时间】:2010-11-11 03:09:42
【问题描述】:
我使用 Hudson 作为持续集成服务器。这些工作最终启动了 MSBuild。大家偶尔,我的构建失败,MSBuild 出现非代码编译错误:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2703,9): error MSB3021: Unable to copy file "..\Lib\Microsoft\Microsoft.Practices.Unity.Configuration.dll" to "bin\Debug\Microsoft.Practices.Unity.Configuration.dll". Access to the path 'bin\Debug\Microsoft.Practices.Unity.Configuration.dll' is denied.
当我检查“bin\Debug\Microsoft.Practices.Unity.Configuration.dll”时,我发现它是一个 0 字节的文件。
我不知道为什么这个文件有问题。有什么想法吗?
【问题讨论】: