title: ASP.NET publish: old DLL is not overwritten, and comes back
body: <p>Using VS2008sp1, I'm publishing Web app to a separate IIS7.5 server. It's been ok for a while, but hit this strange scenario:
  -Created a class file that generates its own DLL.
  -works fine locally
  -When publish to server, the older DLL file is there along with all the other newer files (based on time stamp). The application dies when it tries to execute the new class method (it knows of the correct method call, but cant find the method. e.g method not found: class.method() )
  -turned off IIS service. Deleted DLL file, republished: still showed older DLL (???)</p>
  
  <p>Its obviously cached / protected somewhere, but how do I get around this an publish all as a group? Do I need to restart IIS everytime? </p>