.NET app loading old dll's
Posted on 2011-05-11
VS2010, Windows 7 Ultimate 64-bit, .NET 3.5 Framework
I have a C# app written in VS2003 that I converted into VS2010. I've changed the framework from 2.0 to 3.5. I also have some 3rd party reporting dll's that the app uses and upgraded those as well to compatible versions.
I've deleted the old references and added the new ones, verified the versions are the correct updated ones. They are not being copied to local and no specific version is selected in the reference properties. The app builds and runs fine in VS. It is set to build for x86 architecture.
On my target machine (Win7 64-bit) it runs in XP compatibility mode and as Administrator on the properties. It dies on load and after debugging it, it is trying to load the older version of the reporting dll's which can't be found.
My question is, where in the dll-hell is the reference info coming from? Cached config files? I've done a 1/2 day reading on .config files, manifest files and other stuff but where is this stuff on the target machine? I need some straight education on where the hell the reference to the old is coming from and how to correct it to point to the versions the app's compiled to find.