Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top