I have an old project that I opened at Visual Studio 2017. It starts to warn about a conflict in the System.Runtime.Serialization assembly.
The problem is that assembly versions have the same name but different publicyKeyToken.
Cannot resolve the conflict between "System.Runtime.Serialization, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089" and "System.Runtime.Serialization, Version = 2.0.5.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e, Retargetable = Yes " The choice of "System.Runtime.Serialization, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089" is arbitrary.
I tried using some redirection combinations while working in my web.config, but could not get it to work.
source
share