.net - GAC – Assembly is in the GAC but “Could not load file or assembly” -
I have an interop DLL which was generated by Visual Studio for a third party COM object that I am one. Dll I am consuming in NET I have registered both the interlock DLL in my consumer DLL and GAC. I have to use GAC because these DLLs are being used by a SharePoint 2010 workflow. When the execution goes to the point where my DLL calls the call to DL, the following error "" file could not be loaded or the assembly "..." the system specified file "expected version and public With the key "could not be found. If I check the Fusion Assembly binding log viewer, the following error log entry is listed in the Interop DLL: log: GAC lookup was unsuccessful. I can see that assembly in GAC, and it has the correct version and public key token, as the file is specified in the notfoned exception. What's going on? The problem is that, the version and public key are valid, processor architecture Interop should match your calling DLL. And, of c...