mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.5 KiB
30 lines
1.5 KiB
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
<PropertyGroup> |
|
<OutputType>Exe</OutputType> |
|
|
|
<!-- set TargetFrameworks, but allow skipping selected frameworks by setting env variables --> |
|
<TargetFrameworks></TargetFrameworks> |
|
<TargetFrameworks Condition="'$(SKIP_NET45_DISTRIBTEST)' == ''">$(TargetFrameworks);net45</TargetFrameworks> |
|
<TargetFrameworks Condition="'$(SKIP_NETCOREAPP21_DISTRIBTEST)' == ''">$(TargetFrameworks);netcoreapp2.1</TargetFrameworks> |
|
<TargetFrameworks Condition="'$(SKIP_NETCOREAPP31_DISTRIBTEST)' == ''">$(TargetFrameworks);netcoreapp3.1</TargetFrameworks> |
|
<TargetFrameworks Condition="'$(SKIP_NET50_DISTRIBTEST)' == ''">$(TargetFrameworks);net5.0</TargetFrameworks> |
|
<TargetFrameworks Condition="'$(SKIP_NET70_DISTRIBTEST)' == ''">$(TargetFrameworks);net7.0</TargetFrameworks> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<PackageReference Include="Grpc.Tools" Version="__GRPC_NUGET_VERSION__" /> |
|
<!-- Grpc.Core.Api is not the package under test, it's included only so that gRPC generated service stubs can compile. --> |
|
<PackageReference Include="Grpc.Core.Api" Version="2.46.5" /> |
|
<PackageReference Include="Google.Protobuf" Version="3.21.8" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<Protobuf Include="**\*.proto" /> |
|
</ItemGroup> |
|
|
|
<!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 --> |
|
<ItemGroup> |
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" /> |
|
</ItemGroup> |
|
</Project>
|
|
|