'Generate c# class with custom file extension using Protogen.exe

I am trying to generate c# class from proto file using Protogen.exe. My use case is to create the output file with extension .g.cs. I could find protoc command have support to specify the file extension by" --csharp_opt=file_extension=.g.cs". Is there any way this can be achieved using Protogen.exe?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source