ramosisw / csharp-protogen

Script to parse protobuf *.proto file to C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csharp-protogen

Build Status Coverage License

Script to parse protobuf *.proto file to C#

How to use

Put the script on the root of *.csproj that contains the protodef.

Example

solution/
└── protobuf-project/
    ├── protos/
    |   └── message.proto
    ├── protobuf-project.csproj
    └── generate_protos.bat

And run the script generate_protos.bat

cd protobuf-project
generate_protos.bat

Output script

Determining Version of Google.Protobuf.Tools & Grpc.Tools

Searching *.proto ...

echo found message.proto

done

About

Script to parse protobuf *.proto file to C#

License:Apache License 2.0


Languages

Language:C# 69.8%Language:Batchfile 30.2%