XSL
XSL

Reputation: 3055

Protobuf-net on Windows Phone 7

Hey. I came across Protobuf-net and it seems like a great 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

Upvotes: 2

Views: 862

Answers (3)

Marc Gravell
Marc Gravell

Reputation: 1063393

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.

Upvotes: 2

Jesper Larsen-Ledet
Jesper Larsen-Ledet

Reputation: 6733

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)

Upvotes: 0

Robert Harvey
Robert Harvey

Reputation: 180858

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.

Upvotes: 0

Related Questions