Sonarscanner for MSBuild in linux

Hi,I want to analysis .NET Framework 4.8 project in sonarqube installed linux server. Our sonarqube and runners are installed linux servers. İs there a way to install sonarscannerfor MSBuild for .NETframework in linux.
when I use same .gitlab-ci.yml with .Net core I get error:

The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application

Or I think I install .Net Framework 4.8 in my server . Can it be installed in linux.

Hey there.

Please don’t tag individuals not already involved in a thread. You may think it bumps it to the top of their list – but it does exactly the opposite.

I didn’t know. Thanks for your attention

.NET Framework can’t be installed on Linux (which supports .NET Core, mono…)

Do you already have a working pipeline that builds your .NET code on GitLab? That should be your first concern – and is independent of SonarQube analysis.

I have .gitlabci-yml for analys project in sonarqube