[protobuf] building .proto files from Visual Studio 2010 for C#

2011-09-05 Thread lasse
How can I setup automatic build of .proto files in Visual Studio 2010? I can see that protobuf-csharp-port does it but I have problems finding where is set in the VS2010 GUI. When I look in the Common.targets file I can find this: Target Name=_GenerateSource Exec Command=$(ProtocExePath)

Re: [protobuf] building .proto files from Visual Studio 2010 for C#

2011-09-05 Thread Lars Schouw
I found this link http://stackoverflow.com/questions/453820/protocol-buffers-in-c-projects-using-protobuf-net-best-practices-for-code-gene/1139289#1139289 On Mon, Sep 5, 2011 at 9:12 PM, Marc Gravell marc.grav...@gmail.com wrote: It is a pain that it is so hard to set up a Custom Tool in VS; I

Re: [protobuf] building .proto files from Visual Studio 2010 for C#

2011-09-05 Thread Lars Schouw
Well well what have we here... http://code.google.com/p/protobuf-net/source/browse/trunk/ProtoBufGenerator/ProtoBufTool.cs?r=258 On Mon, Sep 5, 2011 at 9:28 PM, Lars Schouw l...@schouw.com wrote: I found this link

Re: [protobuf] building .proto files from Visual Studio 2010 for C#

2011-09-05 Thread Marc Gravell
I did already mention that one, honest ;p There is a download here: http://protobuf-net.googlecode.com/files/protobuf-net-VS10.msi Marc On 5 September 2011 22:05, Lars Schouw l...@schouw.com wrote: Well well what have we here...