开发者

Protobuf-net on Windows Phone 7

Hey. I came across Protobuf-net and it seems like a great开发者_StackOverflow中文版 serialization library to use. Is it possible to get this working on Windows Phone 7? I downloaded the MSI but it seems that the DLL cannot be referenced because it hasn't been created with the Windows Phone Runtime. Is there another DLL I should download to use so that it works on the phone? thanks


There is WP7 support in v2, which is the trunk. This is not yet fully released (I have a few bits to do), but it does work.


You could try compiling the v1 trunk. But the author says that a big refactor is currently in progress to support the Compact Framework's lack of generics support.


If you download one of the zip files at http://code.google.com/p/protobuf-net/ instead of the MSI. eg:

http://code.google.com/p/protobuf-net/downloads/detail?name=protobuf-net%20r282.zip

you get assemblies for all runtime versions including one for silverlight 2 which should run fine on the phone (I haven't tested it)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜