Browse Source

moved proto geneteration to application layer

pull/82/head
Galip Tolga Erdem 5 years ago
parent
commit
4d60ba2108
  1. 12
      services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj
  2. 11
      services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj
  3. 0
      services/catalog/src/EShopOnAbp.CatalogService.Application/Protos/product.proto

12
services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj

@ -16,16 +16,4 @@
<PackageReference Include="Volo.Abp.Authorization" Version="5.1.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.19.3" />
<PackageReference Include="Grpc.Core" Version="2.42.0" />
<PackageReference Include="Grpc.Tools" Version="2.42.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="Protos\product.proto" GrpcServices="Server" Generator="MSBuild:Compile" />
<Content Include="@(Protobuf)" />
<None Remove="@(Protobuf)" />
</ItemGroup>
</Project>

11
services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj

@ -7,13 +7,22 @@
<RootNamespace>EShopOnAbp.CatalogService</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.19.3" />
<PackageReference Include="Grpc.Core" Version="2.42.0" />
<PackageReference Include="Grpc.Tools" Version="2.42.0" PrivateAssets="All" />
<PackageReference Include="Volo.Abp.Ddd.Application" Version="5.1.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\EShopOnAbp.CatalogService.Domain\EShopOnAbp.CatalogService.Domain.csproj" />
<ProjectReference Include="..\EShopOnAbp.CatalogService.Application.Contracts\EShopOnAbp.CatalogService.Application.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Ddd.Application" Version="5.1.2" />
<Protobuf Include="Protos\product.proto" GrpcServices="Server" Generator="MSBuild:Compile" />
<Content Include="@(Protobuf)" />
<None Remove="@(Protobuf)" />
</ItemGroup>
</Project>

0
services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/Protos/product.proto → services/catalog/src/EShopOnAbp.CatalogService.Application/Protos/product.proto

Loading…
Cancel
Save