On Wed, Mar 2, 2016 at 5:40 AM, izzet izzet <[email protected]> wrote:
> Hello. > > I installed the "Google.ProtocolBuffers" nuget package with version > 2.4.1.555 into my project and get the addressbook.proto file from this > link > <https://github.com/google/protobuf/blob/master/examples/addressbook.proto>. > I tried to generate cshap code file by using protoc.exe but it's giving > errors: *AddressBook.proto:1:1: Expected top-level statement (e.g. > "message").* > > What am I doing wrong here? > Protobuf is currently at v3.0.0-beta-2. The package you downloaded is not maintained by the protobuf team. Try this one instead: https://www.nuget.org/packages/Google.Protobuf Please also download latest protoc binary from the release page: https://github.com/google/protobuf/releases/tag/v3.0.0-beta-2 (try protoc-3.0.0-beta-2-win32.zip) > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
