protocolbuffers / protocolbuffers/protobuf
Bazel rules for C#
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 72k
- Forks
- 16.3k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 140
Description
What language does this apply to?
C#
Describe the problem you are trying to solve.
There are no standard Bazel rules to generate C# source code for protocol buffers.
Describe the solution you'd like
A csharp_proto_library to be included as standard as part of @protobuf//bazel
Describe alternatives you've considered
- I tried to make sense of the C++/Java/Python rule definitions, but couldn't figure out how to modify them to get protoc to output C# files
- I also looked at the following alternative proto rules, but similarly couldn't figure out how to add C# support:
Additional context
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing C++/Java/Python rule definitions under @protobuf//bazel and trace how protoc is invoked. Investigate how a csharp_proto_library could fit the standard Bazel rules, then verify that it generates C# source from protocol buffers and is included as part of @protobuf//bazel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100