For my situation it was where a programmer included as a reference the actual compiled file (the .DLL) instead of the project as a reference (the .csproj). Hence it was compiling against a final DLL which wasn't necessarily compatible with the primary exe/dll.