The following scenario happens to me both on windows services and web working with ASP.NET application using IIS. I have an application that I want to change its behavior after it was deployed. So to do that I kill the application process (iis worker process) or stop the windows service. The I rename one or more of its dlls to be with the extension old. Then I put the dlls that I want to replace the original dlls. When I launch the application the original dlls and not the new ones are used (the dlls whose extension is old). I will be happy if someone can solve this riddle for me. Is it some cache I will have to clear to succeed?
I am using .Net Framework 2.0 if that helps you.