Sfoglia il codice sorgente

Removed explicit build of addressbook so that it builds like all other protos

csharptest 13 anni fa
parent
commit
9c73660d55
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      build/Common.targets

+ 0 - 2
build/Common.targets

@@ -82,8 +82,6 @@ Targets For GenerateSource
     <Message Importance="high" Text="Generating source from proto files" />
     <Message Importance="high" Text="Generating source from proto files" />
     <Exec Command="$(ProtocExePath) --proto_path=$(ProtosDirectory) --descriptor_set_out=compiled.pb @(Protos->'%(RelativeDir)%(Filename)%(Extension)', ' ')" WorkingDirectory="$(SourceTempDirectory)" />
     <Exec Command="$(ProtocExePath) --proto_path=$(ProtosDirectory) --descriptor_set_out=compiled.pb @(Protos->'%(RelativeDir)%(Filename)%(Extension)', ' ')" WorkingDirectory="$(SourceTempDirectory)" />
     <Exec Command="$(ProtogenExePath) compiled.pb" WorkingDirectory="$(SourceTempDirectory)" />
     <Exec Command="$(ProtogenExePath) compiled.pb" WorkingDirectory="$(SourceTempDirectory)" />
-    <!-- Generate the AddressBookProtos.cs directly -->
-    <Exec Command="$(ProtogenExePath) --protoc_dir=$(LibDirectory) --proto_path=$(ProtosDirectory) $(ProtosDirectory)\tutorial\addressbook.proto -namespace=Google.ProtocolBuffers.Examples.AddressBook -umbrella_classname=AddressBookProtos" WorkingDirectory="$(SourceTempDirectory)" />
   </Target>
   </Target>
 
 
   <Target Name="_CopyGeneratedSource" DependsOnTargets="_GenerateSource">
   <Target Name="_CopyGeneratedSource" DependsOnTargets="_GenerateSource">