WebApiContrib / WebApiContrib.Formatting.ProtoBuf

Web API formatter based on ProtoBuf
http://nuget.org/packages/WebApiContrib.Formatting.ProtoBuf
MIT License
30 stars 19 forks source link

Could not load assembly protobuf-net, wrong version referenced #3

Open Geronimo2013 opened 11 years ago

Geronimo2013 commented 11 years ago

Hi,

I installed latest version 0.9.5.0 and I receive:

System.TypeInitializationException : The type initializer for 'WebApiContrib.Formatting.ProtoBufFormatter' threw an exception. ----> System.IO.FileLoadException : Could not load file or assembly 'protobuf-net, Version=2.0.0.480, Culture=neutral, PublicKeyToken=257b51d87d2e4d67' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Actual version installed by Nuget for Protobuf is 2.0.0.640

Any ideas how to solve it? Does WebApiContrib.Formatting.ProtoBuf have a specific version reference to this dll?

Regards, Jeroen

panesofglass commented 10 years ago

I'll take a look. I don't recall there being a specific assembly reference.