Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
7ecc19f0
Commit
7ecc19f0
authored
Aug 26, 2015
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #752 from google/jtattermusch-patch-1
Update README.md for C#
parents
047a97ff
8fca6f83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
README.md
csharp/README.md
+12
-7
No files found.
csharp/README.md
View file @
7ecc19f0
This directory contains the C# Protocol Buffers runtime library.
This directory contains the C# Protocol Buffers runtime library.
Warning: experimental!
Status: Alpha - ready for early adopters
======================
======================
==================
This code is still under significant churn. Unlike the original port,
This code is still under significant churn. Unlike the original port,
it only supports proto3 (but not
*all*
of proto3 yet) - there are no
it only supports proto3 (but not
*all*
of proto3 yet) - there are no
...
@@ -12,15 +12,20 @@ reflection. (It's currently exposed publicly, but won't be
...
@@ -12,15 +12,20 @@ reflection. (It's currently exposed publicly, but won't be
eventually.)
eventually.)
Also unlike the original port, the new version embraces mutability -
Also unlike the original port, the new version embraces mutability -
there are no builder types. We plan to add "freezing" operations as
there are no builder types.
well as cloning, however.
Usage
Usage
=====
=====
Use
`protoc`
with the
`--csharp_out`
option to generate C# files in the specified directory.
The easiest way how to use C# protobufs is via the
`Google.Protobuf`
Include these in your C# project, and add a reference to the
`Google.Protobuf`
project. Currently
NuGet package. Just add the NuGet package to your VS project.
there is no NuGet package for this, but we will be building one as soon as the API is stable.
Besides C# runtime library, the NuGet package also 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
Supported platforms
===================
===================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment