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 #908
  • Loading branch information
nil4 committed Oct 17, 2024
1 parent 3d71d1f commit 1f71348
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 1f71348

Please sign in to comment.