I think I am getting tunnel vision here and maybe I haven't had enough coffee, but I've put a simple change into one of the code behind files for my ASP.Net website (hosted on Windows Server 2008 R2) and recompiled the entire solution. I then grab the DLL compiled from the project containing the code behind in question and replace the old one on the server so that my changes will take effect (changed from a 16 bit integer to a 32 bit) and the changes do not seem to be reflected even after the following:
- Replace old DLL with the new version.
- Replaced in the
bin
folder of the website.
- Replaced in the
- Recycled app pool.
- Restarted website.
- Restarted IIS (don't like doing this).
- Inspected Temporary ASP.Net Files in the Windows Directory
- There are several copies of the same DLL in there, but I don't believe it is a good idea to remove them as I'm not the only user.
- Cleared my cache.
- Checked the GAC.
- Nothing here either, but I knew that was a long shot.
- Changed the version number on the DLL.
The changes still aren't being reflected and it has me wondering:
- Is the code behind for a page placed into the DLL of the containing project?
- If so, then where else should I be looking to replace the DLL?