1

Please is there a switch in ProtoGen.exe to generate .vb files?

Generating the .cs files first then code converting is super tedious...

thanks!

Charles Okwuagwu
  • 10,538
  • 16
  • 87
  • 157
  • Is this protobuf-net? Or protobuf-csharp-port? I have this hunch both called their generation tool "protogen" – Marc Gravell Dec 27 '14 at 18:19
  • i am trying to use your latest version Marc. I cannot Locate protogen in the download from Nuget: protobuf-net.2.0.0.668 – Charles Okwuagwu Dec 27 '14 at 22:54
  • @MarcGravell I am trying to use your latest version. I cannot Locate protogen in the download from Nuget: protobuf-net.2.0.0.668. I have been using and old version from some project which only supports .net 2.0. Please where can I locate your latest version of your protogen tool? Thanks. – Charles Okwuagwu Dec 27 '14 at 23:01
  • @MarcGravell I've found the required ProtoGen source and recompiled it for .Net45 it's in your old V1 repo, seems you have not revisited it in V2. Thanks. – Charles Okwuagwu Dec 28 '14 at 09:54

1 Answers1

1

If this is protobuf-net, then IIRC the -t switch selects the language - so probably -t:vb. This then resolves to vb.xslt. If unsure, -? or -h should show usage.

Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
  • Thanks, but please where can i locate the latest version of your ProtoGen tool? its not included with the nuget Package, also I would like the generated .vb files to have just Public Property Name without the Get/Set coding and private _name field. This should be possible with .Net 4.0+ yes? – Charles Okwuagwu Dec 27 '14 at 23:08
  • @Charles0 if the google download is still there: it is in that. Otherwise I'll need to repackage it. Re get/set: would need an edit to the vb.xslt – Marc Gravell Dec 27 '14 at 23:25