How to remove assembly at runtime
-
hi all, i'm using dynamic assembly at runtime, but i want to change it at the runtime by overwrite on it. System message: "Can not copy (file.dll): It is being used by an other person or program. Close any programs that might be using the file and try again." could you tell me how to change or replace assembly at runtime thanks cuong
-
hi all, i'm using dynamic assembly at runtime, but i want to change it at the runtime by overwrite on it. System message: "Can not copy (file.dll): It is being used by an other person or program. Close any programs that might be using the file and try again." could you tell me how to change or replace assembly at runtime thanks cuong
cuong_nguyentuan wrote: i'm using dynamic assembly at runtime, but i want to change it at the runtime by overwrite on it. Then why save it to disk? Why not keep in memory? Anyways to get the type unloaded you will have to unload the appdomain. My PluginManager article mite be of use. http://www.codeproject.com/useritems/PluginManager.asp[^] Cheers :) I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02