microsoft / sarif-sdk

.NET code and supporting files for working with the 'Static Analysis Results Interchange Format' (SARIF, see https://github.com/oasis-tcs/sarif-spec)
Other
189 stars 88 forks source link

Upgrade Sarif.Multitool to a supported .NET runtime #2766

Open paulomorgado opened 5 months ago

paulomorgado commented 5 months ago

When running Sarif.Multitool installed from https://www.nuget.org/packages/Sarif.Multitool/4.4.0, I get:

$ sarif                                                                                                                                                                                                                             You must install or update .NET to run this application.

App: C:\Users\paulo.morgado\.dotnet\tools\sarif.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  6.0.26 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  7.0.15 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.0 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.1 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win-x64&os=win10

.NET 3.1 has been out of support since December 13, 2022.