Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# and proto2 + GTFS Realltime #6067

Open
wirthandras opened this issue Apr 23, 2019 · 3 comments
Open

C# and proto2 + GTFS Realltime #6067

wirthandras opened this issue Apr 23, 2019 · 3 comments
Assignees
Labels
c# enhancement inactive Denotes the issue/PR has not seen activity in the last 90 days.

Comments

@wirthandras
Copy link

Hi!

I am started to working with GTFS Realtime which proto file written in proto2 syntax.
https://github.com/google/transit/blob/master/gtfs-realtime/proto/gtfs-realtime.proto

My company works with C# code base, So I installed the latest version of protoc (v3.7.1). And I tried to generate C# classes based on this proto file, but I got a message the proto3 syntax supported only with C# programming language. Note: Our contractor has own extension for GTFS Realtime. This is the reason why I need to generate. (instead of using existing nuget packages)

What are my possibilities?

In my mind I see few way:

  1. To ask Google to upgrade proto2 to proto3 (may be impossible)
  2. Find an older version of protoc which may be support C# + proto2
  3. https://github.com/jskeet/protobuf-csharp-port
  4. Change programming language

As I see according to the gathered information the best way is the change programming language.

Can anybody give me a little guidance, maybe something was hidden for me?

Thanks!

@wirthandras wirthandras changed the title C# and proto2 C# and proto2 + GTFS Realltime Apr 23, 2019
@ObsidianMinor
Copy link
Contributor

Option 5: Wait and follow #5350 and #5936. It might take some time but proto2 features are being reviewed as we speak. If you can't wait this option doesn't work.

@wirthandras
Copy link
Author

@ObsidianMinor Thanks, I am following these tickets now. I made a JAVA concept to handle our current needs but as soon as possible we want to migrate to C#.

Copy link

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.

This issue is labeled inactive because the last activity was over 90 days ago.

@github-actions github-actions bot added the inactive Denotes the issue/PR has not seen activity in the last 90 days. label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# enhancement inactive Denotes the issue/PR has not seen activity in the last 90 days.
Projects
None yet
Development

No branches or pull requests

4 participants