Merge pull request #25385 from dfederm/dfederm/build-transitive

[C#] Add buildTransitive directory to NuGet package
pull/25438/head
Jan Tattermusch 4 years ago committed by GitHub
commit c796d3b97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/csharp/Grpc.Core/Grpc.Core.csproj
  2. 6
      src/csharp/Grpc.Core/buildTransitive/net45/Grpc.Core.targets

@ -48,6 +48,10 @@
<PackagePath>build/net45/</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="buildTransitive\net45\Grpc.Core.targets">
<PackagePath>buildTransitive/net45/</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<ItemGroup>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Ensure projects which depend on projects which depend on Grpc.Core receive this build logic. -->
<!-- We still need both "build" and "buildTransitive" directories since "buildTransitive" is only supported starting from nuget 5.0 -->
<Import Project="$(MSBuildThisFileDirectory)..\..\build\net45\Grpc.Core.targets" />
</Project>
Loading…
Cancel
Save