Skip to content

Commit 0fb9708

Browse files
author
John Luo
authored
Flow transitive build targets for project references (#352)
1 parent ab5195d commit 0fb9708

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/Grpc.AspNetCore.Server.ClientFactory/Grpc.AspNetCore.Server.ClientFactory.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
<FrameworkReference Include="Microsoft.AspNetCore.App" />
2727

2828
<ProjectReference Include="..\Grpc.AspNetCore.Server\Grpc.AspNetCore.Server.csproj" />
29-
<ProjectReference Include="..\Grpc.Net.ClientFactory\Grpc.Net.ClientFactory.csproj" />
29+
<!-- PrivateAssets set to None to ensure the build targets/props are propagated to parent project -->
30+
<ProjectReference Include="..\Grpc.Net.ClientFactory\Grpc.Net.ClientFactory.csproj" PrivateAssets="None" />
3031
<PackageReference Include="Grpc.Core.Api" Version="$(GrpcPackageVersion)" />
3132
</ItemGroup>
3233
</Project>

src/Grpc.AspNetCore/Grpc.AspNetCore.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<ProjectReference Include="..\Grpc.AspNetCore.Server.ClientFactory\Grpc.AspNetCore.Server.ClientFactory.csproj" />
20+
<!-- PrivateAssets set to None to ensure the build targets/props are propagated to parent project -->
21+
<ProjectReference Include="..\Grpc.AspNetCore.Server.ClientFactory\Grpc.AspNetCore.Server.ClientFactory.csproj" PrivateAssets="None" />
2122

2223
<PackageReference Include="Google.Protobuf" Version="$(GoogleProtobufPackageVersion)" />
2324
<!-- PrivateAssets set to None to ensure the build targets/props are propagated to parent project -->

src/Grpc.Net.ClientFactory/Grpc.Net.ClientFactory.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
</PropertyGroup>
2424

2525
<ItemGroup>
26-
<ProjectReference Include="..\Grpc.Net.Client\Grpc.Net.Client.csproj" />
26+
<!-- PrivateAssets set to None to ensure the build targets/props are propagated to parent project -->
27+
<ProjectReference Include="..\Grpc.Net.Client\Grpc.Net.Client.csproj" PrivateAssets="None" />
2728
<PackageReference Include="Grpc.Core.Api" Version="$(GrpcPackageVersion)" />
2829
<PackageReference Include="Microsoft.Extensions.Http" Version="$(MicrosoftExtensionsPackageVersion)" />
2930
</ItemGroup>

0 commit comments

Comments
 (0)