Open GoogleCodeExporter opened 9 years ago
*Currently* it searches relative to the current directory only. This would
require a code change.
Original comment by marc.gravell
on 2 Nov 2010 at 8:36
I would also really like this as well. Not being able to reference .proto files
in different directories makes code generation somewhat cumbersome. The
attached patch touches protogen.exe to accept the -s option which is then
passed straight through to protoc as --proto_path.
Also, since I'm using the VS code generator, ProtobufGenerator is touched to
accept a path in the namespace field before the other options using a format
such as:
;-s=../MyProtoDir;-s=..;observable
Quite frankly this is ugly as sin, but should be backwards compatible with
previous users of the tool, and might allow one to hobble by until there is a
better option available.
Original comment by thad.tho...@gmail.com
on 13 Dec 2010 at 10:04
Attachments:
Thanks; as you note, the VS tooling doesn't give many options here... maybe
long term I could look at a separate implicit config file of some kind (twinned
with the .proto). Who knows. Right now my focus is getting v2 stable and RC,
then I can improve the existing tooling.
Original comment by marc.gravell
on 14 Dec 2010 at 9:33
Any movement on this issue?
Original comment by evan.wat...@gmail.com
on 5 Dec 2011 at 12:46
Original issue reported on code.google.com by
mifena...@gmail.com
on 2 Nov 2010 at 8:28