سؤال

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