title: How do I generate a .proto file from a C# class decorated with attributes?
body: <p>Trying to get my mind around google protobuf. I found some implementation of protobuf in C# but they seems to lack one feature: the ability to generate .proto files automatically from an existing C# class decorated with attributes.</p>
  
  <p>The reason I want to do it this way instead of going from auto-generated C# classes from .proto file is because I already have the C# classes defined in my project and I don't want to duplicate them just to satisfy ProtoBuf.</p>
  
  <p>Does anyone have encountered such a scenario?</p>
  
  <hr>
  
  <p><strong>Update</strong></p>
  
  <p>Is this possible to just decorate a C# class and not use a .proto file to use protobuf?</p>