Please read the description. Title may be misleading :)
I created two strong name dll with same name (say MyCode.dll). As both are strong name assembly their PublicKeyTokenNo is different (say Token1 and Token2).
Now I reference Token1-MyCode.dll in classLibrary project (say classlibrary.dll).
Next I reference classLibrary.dll in a webservice project and publish that code. Host that code in IIS and every thing works as expected.
Now I replace the Token1-MyCode.dll with Token2-MyCode.dll and I start receiving below error.
Could not load file or assembly 'MyCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6ee72e50158a9cc4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Which is again correct.
Now, is there any way I can resolve this issue without visual studio, without recompile. Assuming I only have a published code.