link

I'm working in an ASP.net Web App and i'm using an external dll written in C++ and it works fine in the first run of the site but when i made any change in the site and recompile and run again the DllNotFoundException is thrown and I have to close the aspnet_wp.exe process from the processes list and then re run the site and also the dll i used cannot be deleted or modified when the aspnet_wp.exe process is running
please if anyone can help me to solve this problem