-
Notifications
You must be signed in to change notification settings - Fork 142
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
tf: dotnet 6 [arm64] support? #1329
Comments
@andrei-epure-sonarsource is this something that can be looked at before the next release? Given that .NET 6 has been around for a long time already, I'm surprised that it isn't supported here. For ARM specifically, any plans to support that? It is a major blocker for us to not being able to run sonar analysis on ARM infrastructure. |
@mieliespoor .NET 6 is supported by the Scanner since version 5.4.0 https://github.com/SonarSource/sonar-scanner-msbuild/releases/tag/5.4.0.40033. The packaging still contains the Did you run a scan on .NET 6 infrastructure and it didn't work? Did you install .NET on that machine? It seems it's a generic error message rather than something related to our scanner per se.
It seems that .NET is not installed. |
Yes, we only have dotnet 6 installed on it. We don't have any other dotnet versions installed for that matter. We will do some more tests tomorrow. |
I have this issue is well. It seems there is only x64 support, and not arm64 support required for running on newer Mac's. |
related problem: dotnet/runtime#72636 Can you try and execute directly the DLL @mieliespoor @bkaidbb (see docs)?
|
@mieliespoor @bkaidbb can you try and install
This should work based on our tests. |
@andrei-epure-sonarsource Thanks, that worked! |
When running on a Linux instance:
It looks like it's setup for OSX Arm, but not on Linux?
|
@andrei-epure-sonarsource Can you please re-open as this is not resolved. |
It seems this is related to the fact that we target It is forward compatible, but from this comment, I understand this is a limitation of having efcore targetted Others in the ecosystem seem to plan the same ionide/Fornax#117 - but they mention |
Thinking a bit more about this...
worked for @bkaidbb . And the error @VaughanJ gets is
@VaughanJ can you install any other dotnet global tool on your machine? Because this error doesn't seem related at all to our scanner. |
We have been at this for a bit today and it would seem that the only solution here at the moment is to use the dll directly.
Results in the error posted by Jon there for any tool being installed - we tried a few tools to be sure. This means it is an issue with dotnet rather than Sonarqube. @bkaidbb however runs his on MacOS which is why all this behaves differently in his case. I suppose we can close this after all. |
Thanks for confirming @mieliespoor . FYI we have plans to redo the packaging next year and we'll bump the TFM to |
Thanks. This looks like a bug in dotnet sdk. I have logged a bug there and it was accepted. |
Thanks @mieliespoor . For reference of future readers dotnet/sdk#29074 |
Looking at the releases page, and then also https://github.com/SonarSource/sonar-scanner-msbuild/blob/master/src/DotnetVersions.props#L8 we see the highest framework supported is net5.
Any idea when dotnet 6 will be supported?
When running
dotnet sonarscanner begin
on an arm build agent trying to build an arm64 binary, we get the following responseThe text was updated successfully, but these errors were encountered: