Skip to content

Commit d8d982b

Browse files
author
John Luo
authored
Roll forward using LatestMajor behaviour (#1167)
* Roll forward using LatestMajor behaviour Instead of Major behaviour * Update comment
1 parent ec6de5c commit d8d982b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/dotnet-grpc/dotnet-grpc.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
<WarningsNotAsErrors>$(WarningsNotAsErrors);CA2007</WarningsNotAsErrors>
1515
<NoWarn>$(NoWarn);CA2007</NoWarn>
1616

17-
<!-- The runtimeconfig.template.json file is used to allow roll-forward for future runtimes. We target netcoreapp3.0 as the lowest TFM.
18-
See https://github.com/dotnet/core-setup/blob/master/Documentation/design-docs/roll-forward-on-no-candidate-fx.md#roll-forward-in-absence-of-candidate-fx for details-->
17+
<!-- The roll forward policy is set to LatestMajor to allow rolling forward to latest major and minor
18+
version of the runtime even if requested major (netcoreapp3.0) is present. This ensures that the runtime
19+
contains assemblies that are equal or newer than neede by the SDK assemblies resolved by the MSBuild locator.
20+
See https://github.com/dotnet/designs/blob/main/accepted/2019/runtime-binding.md#rollforward for details-->
21+
<RollForward>LatestMajor</RollForward>
1922
</PropertyGroup>
2023

2124
<ItemGroup>

src/dotnet-grpc/runtimeconfig.template.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)