Could you clarify what you mean by "I heard that protobufjs could do something the same" - do something the same as what?
I would expect you to run protoc on protosoup.proto with the csharp_out option to specify that you want to generate C# code (and where to generate it). If you mean that you want the .proto file to be consumed *dynamically* - C# protobuf doesn't support that. On Wednesday, March 15, 2023 at 7:07:56 AM UTC Dr. Holley wrote: > My server named Heaven is written in C++ and all my Earth clients down > here are allowed to communicate with it via protobuff messages. > > I have compiled protosoup.proto that contains all the messages sent from > Heaven but am unsure how my clients are to consume any of them. > > I heard that protobufjs could do something the same. But how to load > "protobuf" ROOT variable in C# the same way to control the request and > response messages? Any guidance please... > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/819a0a19-3b45-43c3-89c4-335cadcb7e20n%40googlegroups.com.
