I don't build it in the GUI anywhere - just building in Visual Studio
doesn't rebuild the proto files.

They only get rebuilt when we manually run the build from the command
line.

Someone *did* mail me with a Visual Studio plugin to do with .proto
files, but I haven't got round to looking at it yet.

Jon

On Sep 5, 4:13 pm, lasse <l...@schouw.me> wrote:
> 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) --proto_path=$(ProtosDirectory) --
> descriptor_set_out=compiled.pb @(Protos->'%(RelativeDir)%(Filename)%
> (Extension)', ' ')" WorkingDirectory="$(BuildTempDirectory)" />
>     <Exec Command="$(ProtogenExePath) compiled.pb" WorkingDirectory="$
> (BuildTempDirectory)" />
>   </Target>
>
> but where is it used?
>
> source:  http://code.google.com/p/protobuf-csharp-port/
>
> Lasse

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to