devenv.exe保持.dll [英] devenv.exe holding on to .dlls

查看:67
本文介绍了devenv.exe保持.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在解决方案A中使用了dll,并且在解决方案B中引用了该DLL。 我们无法使用控制台应用程序xcopy从本地\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\  我们收到消息
,文件正在使用中,我们无法复制。我们找到的唯一解决方案是结束解决方案B的devenv.exe进程的进程树,或者关闭Visual Studio并等待一段时间,即5分钟。 我们还有将
dll B从网络位置复制到本地计算机的问题。 所有三个用户都遇到相同的问题,如果用户打开Visual Studio,则所有用户都会锁定文件问题。

解决方案

如果在编译和调试后在Visual Studio 2015中针对某些类型的项目(例如C#Forms)发生这种情况,请尝试禁用"项目属性"中的"启用Visual Studio宿主过程"选项。


We have dll used in solution A and that dll is referenced in Solution B.  We are not able to copy from local\bin\release\solutionA to a network location using console app xcopy .\SolutionA\bin\release\*.* d:\Assembly\SolutionA\.  We get a message that the files are in use and we are unable to copy. The only solution we have found is ending the process tree of devenv.exe process of Solution B or closing Visual Studio and waiting for a period of time, i.e. 5 minutes.  We also have issues copying dll B FROM the network location to our local machines.  All three users experience the same issue and if on user has Visual Studio open all users have locked file issues.

解决方案

If this happens in Visual Studio 2015 for some kinds of projects (e.g. C# Forms) after compilation and debugging, then try disabling the "Enable the Visual Studio hosting process" option in Project Properties.


这篇关于devenv.exe保持.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆