I'm trying to use protobuf + GRPC in a Visual C# project (windows). It all 
works fine if my proto files (which are external references outside of the 
project) are self-contained (no imports) or reference any well-known 
protos. However, I'm struggling to add imports between proto files in my 
project.


In CLI, I can just use the -I= option to include my Bazel workspace path, 
but in VS I don't want to manually add pre-build steps for every file that 
imports other proto files in the project.


Is there any way to add an import directory to the internal build step 
performed by Grpc.Tools to generate C# code from the proto files? I 
couldn't find any information about it online.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/11ecba81-0199-4c5e-a20c-fb9854d6cb0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to