-
Notifications
You must be signed in to change notification settings - Fork 0
/
gRPC.Bidirectional.Server.csproj
32 lines (30 loc) · 1.11 KB
/
gRPC.Bidirectional.Server.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Remove="MyService.proto" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="MyService.proto">
<OutputDir>%(RelativePath)</OutputDir>
<CompileOutputs>true</CompileOutputs>
<GrpcServices>Both</GrpcServices>
<Access>Public</Access>
<ProtoCompile>True</ProtoCompile>
<ProtoRoot></ProtoRoot>
<Generator>MSBuild:Compile</Generator>
</Protobuf>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Grpc" Version="2.24.0" />
<PackageReference Include="Grpc.Tools" Version="2.24.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Google.Protobuf" Version="3.10.0" />
<PackageReference Include="Grpc.Net.Common" Version="2.24.0" />
<PackageReference Include="Grpc.Core" Version="2.24.0" />
</ItemGroup>
</Project>