-
Notifications
You must be signed in to change notification settings - Fork 93
/
TestApplication.GrpcNetClient.csproj
23 lines (21 loc) · 1.34 KB
/
TestApplication.GrpcNetClient.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="Google.Protobuf" Condition="'$(TargetFramework)' == 'net462' or ( '$(LibraryVersion)' != '' and '$(LibraryVersion)' <= '2.54.0' )" />
<PackageReference Include="Grpc.AspNetCore" Condition="'$(TargetFramework)' != 'net462'" VersionOverride="$(LibraryVersion)" />
<PackageReference Include="Grpc.Net.Client" VersionOverride="$(LibraryVersion)" />
<PackageReference Include="Grpc.Net.Client.Web" Condition="'$(TargetFramework)' == 'net462'" VersionOverride="$(LibraryVersion)" />
<PackageReference Include="Grpc.Tools" Condition="'$(TargetFramework)' == 'net462'" />
<!-- Workaround! Microsoft.Extensions.Logging.Abstractions v.9.0.0 is minimal version supported by auto instrumentation.
Grpc.Net.Client references older version. It prevents to load required version from Additional Dependencies store-->
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="9.0.0" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="Proto\greet.proto" GrpcServices="Client,Server" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\IntegrationTests\Helpers\TcpPortProvider.cs">
<Link>TcpPortProvider.cs</Link>
</Compile>
</ItemGroup>
</Project>