Skip to content

ramosisw/csharp-protogen

Repository files navigation

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#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published