I have about 70+ sites that all run off the same code base. Last week I tried to make sign all of the dlls so I could move them to the GAC so all the sites would use those instead of each having their own bin folder.
I've run into a hiccup with that idea and I have to wait until we get some other issues sorted out on the test server before moving ahead. In the meantime, I have to make updates to the code base and push them dlls to the site's bin directories. But when I did that on a test site I got the following error.
I've removed the signed dlls from the gac so the only instance the runtime should find is what's in the bin folder.
Is it not possible to use signed dlls in the bin directory?
If it is possible, why would I get this error message? I've checked the references that the offending dll has and I don't see any issues there.
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileLoadException: Could not load file or assembly 'OSBLL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a88c702c99f8afc8' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'OSBLL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a88c702c99f8afc8'