Offline .NET Sonar scanner installation

We are working to setup the ability to scan our .NET software and running into issues with the command to install. dotnet tool install --global dotnet-sonarscanner

SonarQube Developer version 10.6.0 is installed and operational. The key here is the installation is occuring offline with no access to the internet for installation. I have tried the steps mentioned in this ticket with no luck.

When attempting to run the above mentioned dotnet tool install command I receive an error stating there is an internet connection needed. I downloaded the nupkg for the dotnet-sonarscanner but seems that I cannot make any offline installation of this packet.

Hi,

In SonarScanner for .NET there are links to download the standalone exectuable for .NET Core 3.1+ or .NET Framework 4.6.2+. Then you can run SonarScanner.MSBuild.exe ... in case of .NET “classic” or dotnet <path to SonarScanner.MSBuild.dll> ... for modern .NET as described in the same page.