0

I am using azure devops server, my end game is to scan a set of C# codes in my project's repo, I am trying to install sonarscanner for .Net "sonar-scanner-msbuild-5.8.0.52797-net5.0.zip" which i downloaded from https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/

As my VM do not have any internet connections, anyway i can install the sonarscanner for .NET with the zip files i downloaded?

I am terribly sorry, as this is very new to me. I need to execute the installation line with powershell if possible.

I am using powershell, and tried

& dotnet tool install -g --version 5.8.0.52797 --add-source "F:\sonar-scanner-msbuild-5.8.0.52797-net5.0"

the error i am getting is

#################### Required argument missing for command: install Description: Install global or local tool. Local tools are added to manifest and restored.

Usage: dotnet tool install [<PACKAGE_ID>] [options]

Arguments: <PACKAGE_ID> The NuGet Package Id of the tool to install.

0 Answers0