dimanche 17 novembre 2019

Loading dll that contains Newtonsoft assembly with reflection error

I'm trying to load an assembly using reflection that uses the ISerialization binder from Newtonsoft, but when the assembly is loaded it throws the following exception:

System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types. Could not load type 'Newtonsoft.Json.SerializationBinder' from assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'.'

I don't really have a clue of why it could be





Aucun commentaire:

Enregistrer un commentaire