In most cases .NET manages to solve the DLL hell problem pretty well, but sometimes it all falls apart, and when it does in best case scenario we see something like this:
Could not load file or assembly 'XXXX, Version=X.Y.Z.W, Culture=neutral, PublicKeyToken=eb42632606e9261f' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The much worst case is this:
The method 'XXXX' was not found on the interface/type 'YYYY, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null'.
This post is an analysis of why this happens and how to diagnose it:Continue reading...