I am developing a context menu (shell extension), and when I try to rebuild the solution it says that the .dll library cannot be opened because it is in use. How can I unload the library manually so I can rebuild it and load it again after rebuilt? Any cmd line commands?

有帮助吗?

解决方案

Here are some tips on working with shell extensions. You can either manually shutdown and restart the shell between sessions, or you can configure the shell to unload your extension quicker.

其他提示

This is the solution I found: There is a small free program called ShellExView with which I disable the shell extension, I restart the explorer using the command: taskkill /f /im explorer.exe, rebuild the library in visual studio, enable the extension in ShellExView and start explorer again using explorer.exe in command prompt.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top