持续警告:“多个软件包无法卸载." [英] Persistent Warning: "Multiple packages failed to uninstall."
问题描述
我有一条警告信息,是来吃饭的,但现在不会离开.
<块引用>多个软件包卸载失败.重新启动 Visual Studio 以完成该过程.
不幸的是,重新启动 Visual Studio 没有任何效果——警告仍然存在.
我尝试清理解决方案和项目;我所有项目的程序集引用都完好无损.我还发出了一个 Update-Package -Reinstall
命令——它成功了——但无济于事.
我该如何着手解决这个问题?
我认为这可能是由文件资源管理器文件夹锁定引起的.
我后来收到了类似的警告,这次是针对一个特定的包裹;因为我现在知道它是哪个包了,所以我可以使用 Lock Hunter 来发现它为什么没有被删除.>
我关闭了文件资源管理器,重新启动了 VS,并且警告不再存在.最初的警告——本问答的主题——在第二天退出并重新登录 Windows 后消失了.
I have a warning message that came to dinner but now won't leave.
Multiple packages failed to uninstall. Restart Visual Studio to finish the process.
Unfortunately, however, restarting Visual Studio has no effect—the warning remains.
I've tried cleaning the solution as well as the project; all of my projects' assembly references are intact. I've also issued an Update-Package -Reinstall
command—which succeeded—to no avail.
How can I set about fixing this?
I believe this may have been caused by a File Explorer folder lock.
I received a similar warning later, this time for a specific package; because I now knew which package it was I was able to use Lock Hunter to discover why it wasn't deleted.
I closed File Explorer, restarted VS, and the warning was no longer present. The original warning—the subject of this Q&A—was gone the next day, after having signed out and back in to Windows.
这篇关于持续警告:“多个软件包无法卸载."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!