1

I am using Visual Studio 2008 and I wonder if there is a way to specify -p:detectMissing when running the ProtoBufTool custom tool. Found nothing on the web about it. Do I have to stick to calling protogen from the command prompt (or wrap protogen inside my own batch file) if I need to specify command line options?

Thanks, Simon

Simon
  • 453
  • 5
  • 14

1 Answers1

2

Yes, there's a ... er, hack. The "custom namespace" is the only thing available to me. This is still usable to supply a namespace, so I choose to accept semi-colon delimited options after that. So if you don't want to specify the namespace, the first character must be a semi-colon. So; try setting:

;detectMissing

as the "custom namespace" (properties pane of the .proto file)

Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
  • I've been away for a while, but I'm back now. Tried the Custom Tool Namespace trick and it works. Thanks a lot! – Simon Aug 31 '12 at 20:31