anerjan / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

How do I specify more than one template in protocgen ? #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How do I specify more than one template in protocgen.exex ? For example I'd 
like to use 'datacontract' and 'binary'. Tool only uses first parameter if I 
specify more than one.

And in general it would be nice to have documentation what all following 
templates generate

---
          "protoRpc" - enable proto-rpc client
          "observable" - change notification (observer pattern) support
          "preObservable" - pre-change notification (observer pattern) support (requires .NET 3.5)
          "partialMethods" - provide partial methods for changes (requires C# 3.0)
          "detectMissing" - provide *Specified properties to indicate whether fields are present
          "lightFramework" - omit additional attributes not included in CF/Silverlight
          "asynchronous" - emit asynchronous methods for use with WCF
          "clientProxy" - emit asynchronous client proxy class

---

Original issue reported on code.google.com by rusl...@gmail.com on 30 Jul 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Re how:
    -p:datacontract -p:binary
should work. Agree that documentation could be expanded.

Original comment by marc.gravell on 30 Jul 2010 at 6:08

GoogleCodeExporter commented 9 years ago
You're right, Marc. It works. Sorry for false alarm. The bug can be closed.

Original comment by rusl...@gmail.com on 30 Jul 2010 at 7:30

GoogleCodeExporter commented 9 years ago

Original comment by marc.gravell on 30 Jul 2010 at 7:57