I know it has to be something stupid...
I have a dll - let's call it foo.dll, which references BAR.DLL - and has for years - an in foo.dll.config we have
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="bar" culture="neutral" publicKeyToken="9816a6fb814b0b7d" />
<bindingRedirect oldVersion="8.0.0.85" newVersion="8.0.0.85" />
</dependentAssembly>
</assemblyBinding>
</runtime>
which works fine when BAR.DLL is installed (it is in the GAC). My problem is now that BAR.DLL is up a 8.0.1.327
When I run the application, I get an error that says that BAR.DLL culture neutral, key.. version 8.0.0.85 is missing
and when I try changing the config to:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="bar" culture="neutral" publicKeyToken="9816a6fb814b0b7d" />
<bindingRedirect oldVersion="8.0.0.85" newVersion="8.0.1.327" />
</dependentAssembly>
</assemblyBinding>
</runtime>
I get the SAME error. I have even tried putting foo.dll.config in the framework redirect locations. Any clue what I'm doing wrong?