We used protobuf for some time at work, and I decided to write a small console application for the client that would allow them to do some testing on the site.
I started a new C # console application and downloaded google.protocolbuffers and protobuf-net from nuget.
What I'm trying to do is turn the "messages.proto" file into "messages.cs"
I tried to get protobuf to create a message file at a pre-build event, but without success, it seems that the command parameters have changed since our first implementation. I followed suit here
http:
And added the following build event
"$(projectdir)packages\Google.ProtocolBuffers.2.4.1.473\tools\protogen.exe" --proto_path=./protos protos/messages.proto --include_imports -output_directory=./
However, I get the following error
Input file protos/messages.proto doesn't exist.
, . ? !