27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<!-- No warn is needed for autogenerated code by protobuf: CS8981 - The type name only contains lower-cased ascii characters. -->
|
|
<NoWarn Condition="'$(TargetFramework)' == 'net7.0'">CS8981</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Google.Protobuf" VersionOverride="3.19.4" />
|
|
<PackageReference Include="Grpc.Net.Client" />
|
|
<PackageReference Include="Grpc.Net.Client.Web" Condition="'$(TargetFramework)' == 'net462'" />
|
|
<PackageReference Include="Grpc.Tools" VersionOverride="2.44.0" />
|
|
<!-- Workaround! Microsoft.Extensions.Logging.Abstractions v.3.1.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="3.1.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\dependency-libs\TestApplication.Shared\TestApplication.Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Protobuf Include="Proto\greet.proto" GrpcServices="Client" />
|
|
</ItemGroup>
|
|
|
|
</Project> |