[英]Does protobuf-csharp-port support Windows RT?
protobuf-csharp-port homepage(with sourcecode) protobuf-csharp-port主页(含源代码)
In my previous windows phone silverlight 8.0 project 在我以前的Windows Phone Silverlight 8.0项目中
I used protobuf-csharp-port to implement the GPB, 我使用protobuf-csharp-port来实现GPB,
but now I want to port the project to windows 8.1 and then universal ,so I copy the source code to create a windows runtime component(I am a library developper),but encounter some problems: 但是现在我想将项目移植到Windows 8.1 ,然后 通用 ,所以我复制源代码以创建Windows运行时组件(我是一个库开发人员),但是遇到一些问题:
sounds like the Serializable Attribute is not useful any more 听起来像Serializable属性不再有用
So question is: 所以问题是:
Any Advice would be great,Thanks a lot!!! 任何建议都会很棒,非常感谢!!!
Question Update at 2014/07/11 2014年7月11日问题更新
First,thanks for the Nuget Tip ,helps me a lot 首先,感谢Nuget技巧 ,对我有很大帮助
But some questions still exist 但是仍然存在一些问题
I am a class library developper ,my goal now is to develop a portable way for win and wp developpers 我是一名班级图书馆开发人员 ,我的目标是为win和wp开发人员开发一种便携式方法
So,target win8.1.I choose winrt component at first 因此,目标是win8.1。我首先选择winrt组件
after adding reference, 添加参考后,
so I decide to change,choose class library ,I develop my own class library which is referencing "Protocol.Buffers" and add the class library I developped to my demo app,and run the demo app 因此,我决定进行更改,选择类库 ,开发自己的类库,该类库引用“ Protocol.Buffers”,并将开发的类库添加到演示应用程序中,然后运行演示应用程序
So,Does protobuf-csharp-port support Windows RT? 那么,protobuf-csharp-port是否支持Windows RT?
Does protobuf-csharp-port support Windows RT?
protobuf-csharp-port是否支持Windows RT?
Yes, protocol buffers are supported on Windows Store Apps. 是的,Windows Store Apps支持协议缓冲区。
How can I use the google protocol buffer on WinRT?
如何在WinRT上使用Google协议缓冲区?
The simplest way is to install the Protocol Buffers NuGet package by Jon Skeet for the relevant projects in your solution: 最简单的方法是为解决方案中的相关项目安装Jon Skeet的Protocol Buffers NuGet程序包:
This way, all the required references will be properly set up for you, and you can start using it right away. 这样,所有必需的参考都将为您正确设置,您可以立即开始使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.