silentorbit/protobuf

Flag for NOT generating the ProtocolParser.cs

Closed this issue · 4 comments

A flag should be added to not have it write ProtocolParser.cs to the output directory.
This comes in handy when splitting your proto files over multiple directories, as it will put a ProtocolParser.cs in every directory atm (since i have to run it once per directory)

Personally I just don't include the extra ProtocolParser.cs in the project file.

Though I don't see any problem with implementing this feature.

The reason i ask is because i use it with unity, where all files are automatically added.

In that case the feature makes sense.

The flag is --no-protocolparser

Please let me know how it works.