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
8fca6f83
Commit
8fca6f83
authored
Aug 26, 2015
by
Jan Tattermusch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md for C#
parent
047a97ff
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 @
8fca6f83
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,
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
eventually.)
Also unlike the original port, the new version embraces mutability -
there are no builder types. We plan to add "freezing" operations as
well as cloning, however.
there are no builder types.
Usage
=====
Use
`protoc`
with the
`--csharp_out`
option to generate C# files in the specified directory.
Include these in your C# project, and add a reference to the
`Google.Protobuf`
project. Currently
there is no NuGet package for this, but we will be building one as soon as the API is stable.
The easiest way how to use C# protobufs is via the
`Google.Protobuf`
NuGet package. Just add the NuGet package to your VS project.
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
===================
...
...
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