c# - DLL on server is "in use" - cannot replace it -


i publishing asp.net website iis web server.

on server have small c# exe (debug-related) uses dll of website. exe opened client computers via smb. dll added exe project "reference" in "solution explorer".

sometimes, after debugging exe, when try publish fixed dll, error related dll message:

bin\website.dll: process cannot access file because being used process.

i can confidence small exe not running anywhere when error occurs, guess dll not unloaded directly on close, or possibly network problem causes handle hang around though program closed on client computer.

how find of these 2 true, or whether else?
(can somehow force exe unload dll when closing?)


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -