-
Notifications
You must be signed in to change notification settings - Fork 129
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
Add .Net Core bindings #56
Comments
@jsiedentop Here's our current process for generating the .NET bindings: It uses a 3rd party library for generating the bindings.
I think that would address your need? Or is there a simpler way to generate the package you're looking for using the existing process but different command-line parameters for build/release? I'm not a .NET developer, so community feedback on this issue would be great. |
@barbeau Thanks for the reply. the big drawback from the .Net Framework is, that it is not platform independent. So, it runs only on Windows. With .Net Core it's possible to run on any platform. |
@jsiedentop I'm certainly in favor of publishing the bindings in a way that's available on the most platforms. The problem is that we have to use existing tools to generate the bindings, so we're limited based on what those tools can do. And unfortunately, looking at https://github.com/protocolbuffers/protobuf/tree/master/csharp again, it only supports proto3 files, and GTFS-realtime is proto2. So we can't use Google's official protocol buffer compiler - that's why we're using a 3rd party compiler: If you can take a look at the 3rd party compiler and our existing documentation for updating the .NET bindings and suggest specific changes to the process to accomplish publishing the bindings with .NET Standard, I'm certainly open to looking at it. Pull requests welcome! |
You can also multi-target NuGet packages to Standard, Framework, and Core. |
@barbeau it looks like in the repo you linked that proto2 is now supported. Will there be an update to this repo to allow .Net core? |
@allister-grange I'm hoping to take a look at updating this part of the repo in the next couple weeks / months (as I have time)! I'm the most active contributor here for now (Sean hasn't been active here for some time). That being said, contributions are also definitely welcome if you have open cycles! The |
.Net Framework is supported, but there is no binding for .Net Core. It would be great, if you ship the NuGet Package as a .Net Standard package, so it can be used on any platform.
The text was updated successfully, but these errors were encountered: