Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 977 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 977 Bytes

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