Re: [protobuf] Precompiler Serialization Error

2012-09-08 Thread Marc Gravell
This sounds very protobuf-net specific; it might be easier to take this off-group, but I think I'll need a bit more context; in particular, since it is a PCL type, what runtime is this on when erroring? Also, are you using Serializer.*, or are you creating an instance of the custom serializer cr

[protobuf] Precompiler Serialization Error

2012-09-08 Thread Luke Pulverenti
Marc, I have a DTO class library which I'm running your precompiler against. When I attempt to use this to Serialize, I receive the following error: Type=System.InvalidOperationException Msg=Type is not expected,, and no contract can be inferred: System.RuntimeType StackTrace= [n]at ProtoB