rongfengliang / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

.NET CF 3.5 #269

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!

After add reference on protobuf-net v2 to my .net cf 3.5 application, i'v got 
an errors like:

protobuf The type 'System.Xml.Serialization.IXmlSerializable' is defined in an 
assembly that is not referenced. You must add a reference to assembly 
'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

It's work with v1 protobuf-net, but with it i have another problem:

Attribute 'ProtoContract' is not valid on this declaration type. It is only 
valid on 'class, enum' declarations.

Need your help.
Igor Shuvalov (i.s.shuvalov__gmail.com)

Original issue reported on code.google.com by i.s.shuv...@gmail.com on 31 Jan 2012 at 8:05