我不断得到:
warning MSB3026: Could not copy dlls errors.
我在解决方案中有几个项目。
在构建时,我也收到错误:
Error 47 Could not copy "myapp\bin\Debug*.dll" to "bin*.dll". Exceeded retry count of 10. Failed.
应用程序只是在调试过程中停止响应,我每次都必须关闭 Visual Studio。这很烦人,但现在也越来越令人沮丧。
我们有八名团队成员,我们所有人都遇到了同样的错误。我们无法重建解决方案,并且应用程序运行非常缓慢。
我们在项目中使用的一件事是 SignalR .
这些是我迄今为止尝试过的事情。他们没有帮助我,但他们可能会帮助读者:
和
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/40ed753e-47af-4638-8a72-1d607102a05c/
if exist "$(TargetPath).locked" del "$(TargetPath).locked" if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"
最佳答案
这通常是您的 bin 目录的权限问题。在 Windows 资源管理器中导航到它并确保只读已关闭。如果您在更改目录的读取状态时遇到错误,请确保您使用管理员级别的帐户运行或相应提升。重新启用写入权限后,您的构建应该可以正常工作。
关于.net - Visual Studio 2012 警告 MSB3026 : Could not copy DLL files,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15689353/