I am trying to run protobuf-net v2 from my .net 4 project.
I took the dll from the .net3 directory and put in in my project but I now get:
Could not load file or assembly 'protobuf-net, Version=2.0.0.450, 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)
I tried adding this to my web.config:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="protobuf-net" publicKeyToken="257b51d87d2e4d67" culture="neutral" />
<bindingRedirect oldVersion="2.0.0.450" newVersion="4.0.0.0" />
</dependentAssembly>
</assemblyBinding>
but no go. Any tips?