Skip to content

Commit

Permalink
Enable RollForward to run on the latest .NET SDKs
Browse files Browse the repository at this point in the history
Enables installing and running `CycloneDX` on runtimes/SDKs newer than those
that it targets when published. For instance, allows v4.0.0 to run with
.NET SDK 9.0 installed.

Fixes CycloneDX#908

Signed-off-by: nil4 <[email protected]>
  • Loading branch information
nil4 committed Oct 17, 2024
1 parent 3d71d1f commit 9687ccd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CycloneDX/CycloneDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<ToolCommandName>dotnet-CycloneDX</ToolCommandName>
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>

<!-- Always run on the latest runtime installed. -->
<RollForward>Major</RollForward>
</PropertyGroup>

<PropertyGroup Condition="'$(OsEnvironment )'=='windows'">
Expand Down

0 comments on commit 9687ccd

Please sign in to comment.