Skip to content

Commit

Permalink
grpc#2401 Add net core 3 so package dependency can be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo authored and JamesNK committed Apr 17, 2024
1 parent f2709f1 commit 54c2da5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Grpc.HealthCheck/Grpc.HealthCheck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<IsGrpcPublishedPackage>true</IsGrpcPublishedPackage>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net462;netstandard2.0;netcoreapp3.0</TargetFrameworks>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

Expand All @@ -19,11 +19,15 @@

<ItemGroup>
<PackageReference Include="Google.Protobuf" />
<PackageReference Include="System.Threading.Channels" />

<!-- TODO(jtattermusch): add reference to Grpc.Tools and use it for generating the Health.cs and HealthGrpc.cs sources -->
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Threading.Channels" />

</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
Expand Down

0 comments on commit 54c2da5

Please sign in to comment.