Skip to content

Commit b65c8f1

Browse files
authored
Global tools should run on whatever latest runtime is installed.
See https://docs.microsoft.com/en-us/dotnet/core/versions/selection#framework-dependent-apps-roll-forward
1 parent 2a39a42 commit b65c8f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080

8181
<!-- Preserve transitively copied content in VS: https://github.com/dotnet/msbuild/issues/1054#issuecomment-847959047 -->
8282
<MSBuildCopyContentTransitively>true</MSBuildCopyContentTransitively>
83+
84+
<!-- Global tools should run on whatever latest runtime is installed. See https://docs.microsoft.com/en-us/dotnet/core/versions/selection#framework-dependent-apps-roll-forward -->
85+
<RollForward>LatestMinor</RollForward>
8386
</PropertyGroup>
8487

8588
<PropertyGroup Label="StrongName" Condition="Exists('$(MSBuildThisFileDirectory)kzu.snk')">

0 commit comments

Comments
 (0)