protobuff3.0.0 DLL 编译
来源:互联网 发布:淘宝卖家被骗 编辑:程序博客网 时间:2024/06/06 13:04
1 直接上源码
https://github.com/bitcraftCoLtd/protobuf3-for-unity
不得不佩服老外,果然牛逼 Unity基于.net2.0 框架 最高支持到.net3.5 所以老外大神直接把release 版本直接降级了一下
The Google.Protobuf/project.json file was modified to target .NET 3.5
To build the library, install .NET Core and run the build_package.bat
script. The .NET 3.5 Google.Protobuf.dll will be output in src\Google.Protobuf\bin\Release\net35
All the unit tests are green.
Compatible with the protoc v3.0.0
From the original README.md:
This directory contains the C# Protocol Buffers runtime library.
Status: Beta - ready for external testing
Usage
The easiest way how to use C# protobufs is via the Google.Protobuf
NuGet package. Just add the NuGet package to your VS project.
You will also want to install the Google.Protobuf.Tools
NuGet package, which contains precompiled version of protoc.exe
and a copy of well known .proto
files under the package's tools
directory.
To generate C# files from your .proto
files, invoke protoc
with the --csharp_out
option.
Supported platforms
The runtime library is built as a portable class library, supporting:
- .NET 4.5
- Windows 8
- Windows Phone Silverlight 8
- Windows Phone 8.1
- .NET Core
You should be able to use Protocol Buffers in Visual Studio 2012 and all later versions. This includes all code generated byprotoc
, which only uses features from C# 3 and earlier.
Building
Open the src/Google.Protobuf.sln
solution in Visual Studio 2015 or later. You should be able to run the NUnit test from Test Explorer (you might need to install NUnit Visual Studio add-in).
Although users of this project are only expected to have Visual Studio 2012 or later, developers of the library are required to have Visual Studio 2015 or later, as the library uses C# 6 features in its implementation. These features have no impact when using the compiled code - they're only relevant when building the Google.Protobuf
assembly.
History of C# protobufs
This subtree was originally imported from https://github.com/jskeet/protobuf-csharp-port and represents the latest development version of C# protobufs, that will now be developed and maintained by Google. All the development will be done in open, under this repository (https://github.com/google/protobuf).
The previous project differs from this project in a number of ways:
- The old code only supported proto2; the new code only supports proto3 (so no unknown fields, no required/optional distinction, no extensions)
- The old code was based on immutable message types and builders for them
- The old code did not support maps or
oneof
- The old code had its own JSON representation, whereas the new code uses the standard protobuf JSON representation
- The old code had no notion of the "well-known types" which have special support in the new code
- The old project supported some older platforms (such as older versions of Silverlight) which are not currently supported in the new project
- protobuff3.0.0 DLL 编译
- protobuff3 protoc命令
- 编译DLL
- csc编译dll
- csc编译dll
- 编译C++ ----DLL
- 编译 freetype 成 dll
- cygwin编译dll
- qmake编译dll
- VS2010编译缺少dll
- DLL编译方法
- 如何编译生成dll
- Unity编译dll
- 如何编译生成dll
- nmake编译dll
- QT编译插件,DLL
- vs dll编译冲突
- 如何编译生成dll
- Laravel5 之 发送邮件
- 读书笔记-疯狂Java讲义(第三版)第一章Java语言概述与开发环境
- synchronized的JVM底层实现
- 常用JavaScript
- Sublime Text
- protobuff3.0.0 DLL 编译
- 读《About Face 4 交互设计精髓》19
- hive性能优化及参数设置
- Hibernate的HQL语句中定位参数和具名参数传参
- 欢迎使用CSDN-markdown编辑器
- 恩布协同办公,企业即时通讯软件平台,后台开发之_APPID使用规范
- 抛弃Android自带webview浏览器内核,使用腾讯X5服务webview浏览器
- 二叉树前序、中序、后序遍历非递归写法的透彻解析
- hql不能在distinct,group by结果集上使用count的问题,报语法错误