Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paulomorgado opened this issue Jan 23, 2024 · 2 comments
Open

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

paulomorgado opened this issue Jan 23, 2024 · 2 comments

Comments

@paulomorgado
Copy link

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.

@ncook-hxgn
Copy link

Any progress? Just tried to run sarif.exe 4.3.3 on a build VM (Winserver 2022) with the current dotnet LTS (8.0) and got the following error:

S:\a\_tool\Sarif.Multitool\4.3.3\x64\sarif.exe convert 'S:\a\1\a\CodeAnalysisLogs\ConsoleApplication1.cppcheck.xml' --tool CppCheck --output 'S:\a\1\a\CodeAnalysisLogs\ConsoleApplication1.cppcheck.xml.sarif' --log ForceOverwrite
You must install or update .NET to run this application.

App: S:\a\_tool\Sarif.Multitool\4.3.3\x64\sarif.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
##[debug]task result: Failed
##[error]SARIF Multitool failed with exit code 2147516566

At this point, supporting dotnet 6 will buy you two weeks of running on a supported dotnet LTS. Any chance you could target 8.0?

Would you take a PR?

@ncook-hxgn
Copy link

I mean, or just deprecate it 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants