Version of SonarQube
Community Edition Version 6.7.4
Version of Sonar-Scanner-MSBuild:
sonar-scanner-msbuild-4.6.2.2108-net46
Build environment
Windows 10
MSBuild.exe from Visual Studio 2017
.Net Framework .4.5
I am using the Sonar Scanner for MSBuild to analyze a C# project.
I try to following command from root folder of my project.
SonarScanner.MSBuild.exe begin /k:"test" /d:sonar.verbose=true
Here i get this error and .Net framework installation dialog.
Here are the error i got.
Sonarscanner try to download .Net framework 3.5. But i have already installed .Net framework 4.5.
This is often an indication that other memory is corrupt.
Powereason 68466921 NativeBridgel (Char , String ) at Powereason_ 68466921 Trampoline 68466921 (Uri) at System.Net.WebClient. DownloadString (Uri address) at Sonar Scanner.MSBuild. Preprocessor. Sonar WebService.<>e DisplayClass 15 0.<Download ServerVersion>b 0 () at Sonar Scanner.MSBuild. PreProcessor. Sonar WebService. logExceptions [T] (Func`1 op, String url, Action 1 onError) at at Sonar Scanner.MSBuild. Preprocessor. Sonar WebService. Download Server Version () Sonar Scanner.MSBuild. Preprocessor. Sonar WebService. GetServerVersion (). at Sonar Scanner.MSBuild. Preprocessor. Sonar WebService. Get Properties (String projectKey, String project Branch) at SonarScanner.MSBuild.PreProcessor.TeamBuild PreProcessor.FetchArgumentsAndRulesets (I SonarQube Server Process Args args, TeamBuild settings settings, IDictionary. 2& serverSettings, List 1& analyzersSettings) at SonarScanner.MSBuild.PreProcessor.TeamBuild PreProcessor.DoExecute (Process Args localSettings) at Sonar Scanner.MSBuild. Bootstrapper Class. PreProcessor () server,]
at SonarScanner.MSBuild.BootstrapperClass.Execute () at Sonar Scanner.MSBuild. Program Execute(String[] args, I Logger logger) at SonarScanner. MSBuild. Program.Main(String[] args)```