In my application, I have two assemblies(third party) of different versions , publickeytoken but same assembly name in different app paths. For some of my projects the lower version of that dll is required and for some other higher version of that dll
is needed. I have referred these two dll where ever it is needed. While compiling it doesn't throw any error. But in runtime i'm getting the following exception
"Could not load file or assembly 'AssemblyName, Version=x.x.x.x, Culture=neutral, PublicKeyToken=xxxxxxx' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
Is there any way to load assembly by considering all four parameters?
"Could not load file or assembly 'AssemblyName, Version=x.x.x.x, Culture=neutral, PublicKeyToken=xxxxxxx' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
Is there any way to load assembly by considering all four parameters?