Protobuf-net won't deserialize data from Protobuf.js
问题 I'm using Protobuf for the communication between my web client and server (C#), using WebSocket. On the client, the de/serialization is done through Protobuf.js and, on the server, using protobuf-net. The problem is that, when using aggregation with abstract classes, protobuf-net can't deserialize the data sent by Protobuf.js. This is the stack trace: ProtoException: No parameterless constructor found for Base. at ProtoBuf.Meta.TypeModel.ThrowCannotCreateInstance(Type type) na c:\Dev\protobuf