# Analysis end successfully, but doesn't show the dashboard

**URL:** <https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube, dotnet, scanner\
**Created:** [August 14, 2023, 1:31pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417 "2023-08-14T13:31:18Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 14, 2023, 1:31pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/1 "2023-08-14T13:31:18Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
Docker version 23.0.5, build bc4487a  
Image: sonarqube:community  
Scanner: [https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/5.13.0.66756/sonar-scanner-msbuild-5.13.0.66756-net46.zip](https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/5.13.0.66756/sonar-scanner-msbuild-5.13.0.66756-net46.zip)  
MSBuild Version: 15.9.21.664  
Project Framework: .NET Framework 4.8

- how is SonarQube deployed: zip, Docker, Helm  
Docker

- what are you trying to achieve  
Analysis my code.

- what have you tried so far to achieve this  
I started my SonarQube with Docker on Windows using this command ([Try out SonarQube](https://docs.sonarsource.com/sonarqube/latest/try-out-sonarqube/)):

> $ docker run -d --name sonarqube -e SONAR\_ES\_BOOTSTRAP\_CHECKS\_DISABLE=true -p 9000:9000 sonarqube:latest

After that, I created my project on localhost:9000 to do the analysis manually, selected the project locally as you can see in the print attached.

 ![1-OK-TestLocalLib-Overview-SonarQube](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/8/9/89d979ff40faebc6a0f4c34517730ee655fa1070.png)

After that I ran the sonarcanner.msbuild with verbose mode:

```auto
SonarScanner.MSBuild.exe begin /k:"TestLocalLib" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_519a054fcf0d94ddd5b3058e148995c7f2c8e168" > log.txt

MsBuild.exe /t:Rebuild > log.txt

SonarScanner.MSBuild.exe end /d:sonar.token="sqp_519a054fcf0d94ddd5b3058e148995c7f2c8e168" > log.txt

```

It seems OK, no errors are shown, but I am not redirected to the dashboard with the results and if I manually go to the project dashboard no results appear.  
If I hover over the “Issues” the message appears “This will be available once your project is configured and analyzed.”

[log.txt](https://community.sonarsource.com/uploads/short-url/qRo01w2q9rQVApcwJ6lNRwPePPC.txt) (3.9 KB)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [August 15, 2023, 8:50am UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/2 "2023-08-15T08:50:12Z")

</div>

Hey there

> [@faulycoelho](#):
>
> `SonarScanner.MSBuild.exe end /d:sonar.token="sqp_519a054fcf0d94ddd5b3058e148995c7f2c8e168" > log.txt`

I think you may only be getting `stdout` from this, instead of `stderr` (which would indicate where there is an issue). Can you post the logs from the syntax [referenced here](https://stackoverflow.com/a/1420981) (or simply the output of the command on the terminal not piping to a log file)

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 15, 2023, 12:10pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/3 "2023-08-15T12:10:19Z")

</div>

Hi, Colin.  
Command executed:

```auto
SonarScanner.MSBuild.exe begin /k:"TestLocalLib" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_efab94e97274d148c0959d448fbbf4c05b0f44f0" 1> file.txt 2>&1

MsBuild.exe /t:Rebuild 1> file.txt 2>&1

SonarScanner.MSBuild.exe end /d:sonar.token="sqp_efab94e97274d148c0959d448fbbf4c05b0f44f0" 1> file.txt 2>&1

```

File attached.

In addition, I saw that information in my browser network:  
Request: [http://localhost:9000/api/alm\_settings/get\_binding?project=TestLocalLib](http://localhost:9000/api/alm_settings/get_binding?project=TestLocalLib)

Response:

```auto
{
    "errors": [
        {
            "msg": "Project \u0027TestLocalLib\u0027 is not bound to any DevOps Platform"
        }
    ]
}

```

I don’t know if there is a problem, because I didn’t select any devops platform, I did:  
Create Project Manually \> “TestLocalLib” \> Next \> Use The global Settings \> Create Project \> Locally \> Generate Token \> Continue \> .NET \> .NET Framework

[file.txt](https://community.sonarsource.com/uploads/short-url/kxN018GnwfhIbAYWIDcStGgRist.txt) (3.9 KB)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [August 15, 2023, 12:19pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/4 "2023-08-15T12:19:46Z")

</div>

A lot of log output still appears to be missing.

What if you don’t pipe the results to a logfile? Do you see more logging in your terminal?

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 15, 2023, 12:29pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/6 "2023-08-15T12:29:37Z")

</div>

No, I see the same:

```auto
D:\DevLibTest\ClassLibraryTest>SonarScanner.MSBuild.exe begin /k:"TestLocalLib" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_d8eb97e74e6d09e6f6ab2bcbe2ff7caf17c3461c"
SonarScanner for MSBuild 5.13
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
09:26:10.079 09:26:10.045 Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
09:26:10.087 09:26:10.079 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
09:26:10.087 Updating build integration targets...
09:26:10.095 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
09:26:10.095 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
09:26:10.095 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
09:26:10.095 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
09:26:10.111 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
09:26:10.113 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
09:26:10.113 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
09:26:10.113 Installed SonarQube.Integration.targets to D:\DevLibTest\ClassLibraryTest\.sonarqube\bin\targets
09:26:10.129 Creating config and output folders...
09:26:10.129 Creating directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
09:26:10.129 Creating directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\out
09:26:10.162 Fetching server version...
09:26:10.179 Downloading from http://localhost:9000/api/server/version...
09:26:10.233 Response received from http://localhost:9000/api/server/version...
09:26:10.245 Checking validity of server license
09:26:10.245 Downloading from http://localhost:9000/api/editions/is_valid_license...
09:26:10.262 Response received from http://localhost:9000/api/editions/is_valid_license...
09:26:10.262 SonarQube Community Edition detected, license is valid.
09:26:10.279 Fetching analysis configuration settings...
09:26:10.296 Fetching properties for project 'TestLocalLib'...
09:26:10.296 Downloading from http://localhost:9000/api/settings/values?component=TestLocalLib...
09:26:10.324 Response received from http://localhost:9000/api/settings/values?component=TestLocalLib...
09:26:10.329 Downloading from http://localhost:9000/api/languages/list...
09:26:10.348 Response received from http://localhost:9000/api/languages/list...
09:26:10.352 Fetching quality profile for project 'TestLocalLib'...
09:26:10.352 Downloading from http://localhost:9000/api/qualityprofiles/search?project=TestLocalLib...
09:26:10.403 Response received from http://localhost:9000/api/qualityprofiles/search?project=TestLocalLib...
09:26:10.412 Fetching rules for quality profile 'AYnmZkYsT-t1AuETaCBY'...
09:26:10.412 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYnmZkYsT-t1AuETaCBY&p=1...
09:26:11.208 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYnmZkYsT-t1AuETaCBY&p=1...
09:26:11.245 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
09:26:11.259 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-cs.ruleset...
09:26:11.302 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-cs-none.ruleset...
09:26:11.313 Provisioning analyzer assemblies for cs...
09:26:11.313 Installing required Roslyn analyzers...
09:26:11.32 Processing plugin: csharp version 9.3.0.71466
09:26:11.357 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\0
09:26:11.366 Processing plugin: vbnet version 9.3.0.71466
09:26:11.366 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\1
09:26:11.382 Writing Roslyn analyzer additional file to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\cs\SonarLint.xml...
09:26:11.384 Fetching quality profile for project 'TestLocalLib'...
09:26:11.384 Downloading from http://localhost:9000/api/qualityprofiles/search?project=TestLocalLib...
09:26:11.435 Response received from http://localhost:9000/api/qualityprofiles/search?project=TestLocalLib...
09:26:11.435 Fetching rules for quality profile 'AYnmZkm3T-t1AuETaCxy'...
09:26:11.443 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYnmZkm3T-t1AuETaCxy&p=1...
09:26:11.803 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYnmZkm3T-t1AuETaCxy&p=1...
09:26:11.815 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
09:26:11.818 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-vbnet.ruleset...
09:26:11.82 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-vbnet-none.ruleset...
09:26:11.824 Provisioning analyzer assemblies for vbnet...
09:26:11.824 Installing required Roslyn analyzers...
09:26:11.825 Processing plugin: csharp version 9.3.0.71466
09:26:11.828 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\0
09:26:11.833 Processing plugin: vbnet version 9.3.0.71466
09:26:11.838 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\1
09:26:11.842 Writing Roslyn analyzer additional file to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\vbnet\SonarLint.xml...
09:26:11.85 Processing analysis cache
09:26:11.86 Incremental PR analysis: Base branch parameter was not provided.
09:26:11.866 Cache data is empty. A full analysis will be performed.
09:26:11.929 Pre-processing succeeded.

D:\DevLibTest\ClassLibraryTest>MsBuild.exe /t:Rebuild
Microsoft(R) Build Engine versão 15.9.21+g9802d43bc3 para .NET Framework
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

Compilando os projetos desta solução um de cada vez. Para habilitar o build paralelo, adicione a opção "/m".
Compilação de 15/08/2023 09:26:26 iniciada.
Projeto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" no nó 1 (Rebuild destino(s)).
ValidateSolutionConfiguration:
  Compilando a configuração de solução "Debug|Any CPU".
O projeto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (1) está compilando "D:\DevLibTest\ClassLibraryTest\Cla
ssLibraryTest\ClassLibraryTest.csproj" (2) no nó 1 (Rebuild destino(s)).
CoreClean:
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.dll".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.pdb".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.csprojAssemblyReferen
  ce.cache".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.csproj.CoreCompileInp
  uts.cache".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.dll".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.pdb".
GenerateTargetFrameworkMonikerAttribute:
Ignorando o destino "GenerateTargetFrameworkMonikerAttribute" porque todos os arquivos de saída estão atualizados em re
lação aos arquivos de entrada.
SonarCategoriseProject:
  Sonar: (ClassLibraryTest.csproj) Categorizing project as test or product code...
  Sonar: (ClassLibraryTest.csproj) categorized as MAIN project (production code).
SonarCreateProjectSpecificDirs:
  Criando o diretório "D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0".
SonarWriteFilesToAnalyze:
  Sonar: (ClassLibraryTest.csproj) Number of files to analyse: 2. The list of files to be analyzed is in D:\DevLibTest\
  ClassLibraryTest\.sonarqube\conf\0\FilesToAnalyze.txt.
SetRoslynCodeAnalysisProperties:
  Sonar: (ClassLibraryTest.csproj) Analysis configured successfully with D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
  \0\SonarProjectConfig.xml.
SonarQubeImportBeforeInfo:
  Sonar: (ClassLibraryTest) SonarQube.Integration.ImportBefore.targets was loaded
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:17
  01,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll" /reference:"C:\Program Files (x86)\Referen
  ce Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll" /reference:"C:\Program Files (x86)\Reference As
  semblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.dll" /reference:"C:\Program Files (x86)\Refe
  rence Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll" /reference:"C:\Program Files (x86)\Reference Asse
  mblies\Microsoft\Framework\.NETFramework\v4.8\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assem
  blies\Microsoft\Framework\.NETFramework\v4.8\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\
  Microsoft\Framework\.NETFramework\v4.8\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\De
  bug\ClassLibraryTest.dll /ruleset:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\merged.ruleset /errorlog:D:\DevLib
  Test\ClassLibraryTest\.sonarqube\out\0\Issues.json /subsystemversion:6.00 /target:library /warnaserror- /utf8output /
  deterministic+ /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\0\Google.Protobuf.dll /analyze
  r:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\0\SonarAnalyzer.CFG.dll /analyzer:C:\Users\fauly.coel
  ho\AppData\Local\Temp\.sonarqube\resources\0\SonarAnalyzer.CSharp.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\T
  emp\.sonarqube\resources\0\SonarAnalyzer.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\
  1\Google.Protobuf.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\1\SonarAnalyzer.CFG.dll
   /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\1\SonarAnalyzer.dll /analyzer:C:\Users\fauly
  .coelho\AppData\Local\Temp\.sonarqube\resources\1\SonarAnalyzer.VisualBasic.dll /additionalfile:D:\DevLibTest\ClassLi
  braryTest\.sonarqube\conf\cs\SonarLint.xml /additionalfile:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\SonarProj
  ectConfig.xml /additionalfile:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\ProjectOutFolderPath.txt Class1.cs Pro
  perties\AssemblyInfo.cs "C:\Users\fauly.coelho\AppData\Local\Temp\.NETFramework,Version=v4.8.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Profession
  al\MSBuild\15.0\Bin\Roslyn
Class1.cs(13,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(16,10): warning S1133: Do not forget to remove this deprecated code someday. [D:\DevLibTest\ClassLibraryTest\
ClassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(17,21): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcepti
on' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
CopyFilesToOutputDirectory:
  Copiando o arquivo de "obj\Debug\ClassLibraryTest.dll" para "bin\Debug\ClassLibraryTest.dll".
  ClassLibraryTest -> D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.dll
  Copiando o arquivo de "obj\Debug\ClassLibraryTest.pdb" para "bin\Debug\ClassLibraryTest.pdb".
SonarWriteProjectData:
  Sonar: (ClassLibraryTest.csproj) Project processed successfully
Projeto de compilação pronto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj" (Rebuild destino
(s)).

Projeto de compilação pronto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (Rebuild destino(s)).

Compilação com êxito.

"D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (Rebuild destino) (1) ->
"D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj" (Rebuild destino) (2) ->
(CoreCompile destino) ->
  Class1.cs(13,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(16,10): warning S1133: Do not forget to remove this deprecated code someday. [D:\DevLibTest\ClassLibraryTes
t\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(17,21): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcep
tion' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]

    3 Aviso(s)
    0 Erro(s)

Tempo Decorrido 00:00:05.13

D:\DevLibTest\ClassLibraryTest>SonarScanner.MSBuild.exe end /d:sonar.token="sqp_d8eb97e74e6d09e6f6ab2bcbe2ff7caf17c3461c"
SonarScanner for MSBuild 5.13
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
09:26:37.163 09:26:37.148 Uninstalling target: D:\DevLibTest\ClassLibraryTest\.sonarqube\bin\targets\SonarQube.Integration.targets
09:26:37.163 09:26:37.163 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
09:26:37.163 Loading the SonarQube analysis config from D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml
09:26:37.163 Not running under TeamBuild
09:26:37.163 Analysis base directory: D:\DevLibTest\ClassLibraryTest\.sonarqube
Build directory:
Bin directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\bin
Config directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
Output directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\out
Config file: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml
09:26:37.179 Generating SonarQube project properties file to D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties
09:26:37.21 Setting analysis property: sonar.visualstudio.enable=false
09:26:37.226 The supplied Code Analysis ErrorLog file is a valid json file and does not need to be fixed: D:\DevLibTest\ClassLibraryTest\.sonarqube\out\0\Issues.json
09:26:37.259 Using longest common projects path as a base directory: 'D:\DevLibTest\ClassLibraryTest\ClassLibraryTest'.
09:26:37.275 Dumping content of sonar-project.properties
------------------------------------------------------------------------
sonar.projectKey=TestLocalLib
sonar.working.directory=D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\.sonar
sonar.projectBaseDir=D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest
sonar.pullrequest.cache.basepath=D:\\DevLibTest\\ClassLibraryTest

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectKey=TestLocalLib:1ECA1CEF-EBB3-4245-ADA3-499688730D62
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectName=ClassLibraryTest
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectBaseDir=D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.sourceEncoding=utf-8
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.sources=\
"D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest\\Class1.cs",\
"D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest\\Properties\\AssemblyInfo.cs"

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.cs.analyzer.projectOutPaths=\
"D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\0"
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.cs.roslyn.reportFilePaths=\
"D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\0\\Issues.json"

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.working.directory=D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\.sonar\\mod0
sonar.host.url=http://localhost:9000
sonar.visualstudio.enable=false

sonar.modules=1ECA1CEF-EBB3-4245-ADA3-499688730D62

------------------------------------------------------------------------
09:26:37.29 Writing processing summary to D:\DevLibTest\ClassLibraryTest\.sonarqube\out\ProjectInfo.log
Calling the TFS Processor executable...
Executing file D:\dev\TestSonarQube\scanner\SonarScanner.MSBuild.TFSProcessor.exe
  Args: ConvertCoverage D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties
  Working directory: D:\DevLibTest\ClassLibraryTest
  Timeout (ms):-1
  Process id: 20580
Process returned exit code 0
The TFS Processor has finished
Calling the SonarScanner CLI...
Executing file D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.0.2856\bin\sonar-scanner.bat
  Args: -Dsonar.scanAllFiles=true -Dproject.settings=D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties --from=ScannerMSBuild/5.13 --debug <sensitive data removed>
  Working directory: D:\DevLibTest\ClassLibraryTest
  Timeout (ms):-1
  Process id: 35636
Process returned exit code 0
The SonarScanner CLI has finished
09:26:37.86 Post-processing succeeded.

D:\DevLibTest\ClassLibraryTest>

```

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 17, 2023, 12:41pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/7 "2023-08-17T12:41:14Z")

</div>

Colin,  
I saw some examples and the last command (SonarScanner.MSBuild.exe end…) produce more logs than mine, I am not getting no errors message, I don’t know what is happening.

Before running the sonarQube container, I installed Java JDK 17, set the PATH environment variable and installed sonarScanner. I think it was supposed to work with these settings, correct?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [August 18, 2023, 8:56am UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/8 "2023-08-18T08:56:41Z")

</div>

I don’t know what’s happening either!

My first recommendation would be that you try and [reinstall the Scanner for .NET](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-dotnet/) – just to double check there isn’t an issue with the binaries you’ve downloaded and where they might have been modified/copied.

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 29, 2023, 11:02pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/9 "2023-08-29T23:02:58Z")

</div>

I am not having success with scanner for .net framework:

> **[SonarScanner for .NET](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-dotnet/)**
>
> The SonarScanner for .NET is the recommended way to launch an analysis for projects built using MSBuild or dotnet.

Just to clarify, I am trying to analyze a project with target framework.“net framework 4.8.”

If I use the sonarScanner.msbuild.exe with verbose the output show that, calling CLI and exited with code 0 but do not happen anything.

```auto
PS D:\DevLibTest\ClassLibraryTest> SonarScanner.MSBuild.exe begin /k:"qqq" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_19187a667d4275712ed5f89d061a9409419c97db"
SonarScanner for MSBuild 5.13.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
20:27:52.763 20:27:52.754 Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
20:27:52.764 20:27:52.763 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
20:27:52.767 Updating build integration targets...
20:27:52.77 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
20:27:52.77 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
20:27:52.77 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
20:27:52.771 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
20:27:52.771 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
20:27:52.771 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
20:27:52.772 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
20:27:52.773 Installed SonarQube.Integration.targets to D:\DevLibTest\ClassLibraryTest\.sonarqube\bin\targets
20:27:52.776 Creating config and output folders...
20:27:52.777 Creating directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
20:27:52.778 Creating directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\out
20:27:52.795 Fetching server version...
20:27:52.798 Downloading from http://localhost:9000/api/server/version...
20:27:52.822 Response received from http://localhost:9000/api/server/version...
20:27:52.828 Checking validity of server license
20:27:52.829 Downloading from http://localhost:9000/api/editions/is_valid_license...
20:27:52.835 Response received from http://localhost:9000/api/editions/is_valid_license...
20:27:52.836 SonarQube Community Edition detected, license is valid.
20:27:52.84 Fetching analysis configuration settings...
20:27:52.844 Fetching properties for project 'qqq'...
20:27:52.845 Downloading from http://localhost:9000/api/settings/values?component=qqq...
20:27:52.857 Response received from http://localhost:9000/api/settings/values?component=qqq...
20:27:52.861 Downloading from http://localhost:9000/api/languages/list...
20:27:52.865 Response received from http://localhost:9000/api/languages/list...
20:27:52.868 Fetching quality profile for project 'qqq'...
20:27:52.87 Downloading from http://localhost:9000/api/qualityprofiles/search?project=qqq...
20:27:52.888 Response received from http://localhost:9000/api/qualityprofiles/search?project=qqq...
20:27:52.891 Fetching rules for quality profile 'AYpBthQ7laLmDHN4FaZo'...
20:27:52.893 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
20:27:53.01 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
20:27:53.023 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
20:27:53.031 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-cs.ruleset...
20:27:53.044 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-cs-none.ruleset...
20:27:53.053 Provisioning analyzer assemblies for cs...
20:27:53.054 Installing required Roslyn analyzers...
20:27:53.055 Processing plugin: csharp version 8.51.0.59060
20:27:53.066 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
20:27:53.067 Processing plugin: vbnet version 8.51.0.59060
20:27:53.068 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
20:27:53.073 Writing Roslyn analyzer additional file to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\cs\SonarLint.xml...
20:27:53.075 Fetching quality profile for project 'qqq'...
20:27:53.079 Downloading from http://localhost:9000/api/qualityprofiles/search?project=qqq...
20:27:53.095 Response received from http://localhost:9000/api/qualityprofiles/search?project=qqq...
20:27:53.098 Fetching rules for quality profile 'AYpBthpilaLmDHN4FbJE'...
20:27:53.099 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
20:27:53.161 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
20:27:53.165 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
20:27:53.167 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-vbnet.ruleset...
20:27:53.168 Writing Roslyn generated ruleset to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\Sonar-vbnet-none.ruleset...
20:27:53.17 Provisioning analyzer assemblies for vbnet...
20:27:53.17 Installing required Roslyn analyzers...
20:27:53.17 Processing plugin: csharp version 8.51.0.59060
20:27:53.171 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
20:27:53.172 Processing plugin: vbnet version 8.51.0.59060
20:27:53.173 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
20:27:53.176 Writing Roslyn analyzer additional file to D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\vbnet\SonarLint.xml...
20:27:53.179 Processing analysis cache
20:27:53.183 Incremental PR analysis: Base branch parameter was not provided.
20:27:53.186 Cache data is empty. A full analysis will be performed.
20:27:53.208 Pre-processing succeeded.
PS D:\DevLibTest\ClassLibraryTest> msbuild.exe /t:Rebuild
Microsoft(R) Build Engine versão 15.9.21+g9802d43bc3 para .NET Framework
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

Compilando os projetos desta solução um de cada vez. Para habilitar o build paralelo, adicione a opção "/m".
Compilação de 29/08/2023 20:28:10 iniciada.
Projeto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" no nó 1 (Rebuild destino(s)).
ValidateSolutionConfiguration:
  Compilando a configuração de solução "Debug|Any CPU".
O projeto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (1) está compilando "D:\DevLibTest\ClassLibraryTest\Cla
ssLibraryTest\ClassLibraryTest.csproj" (2) no nó 1 (Rebuild destino(s)).
CoreClean:
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.dll".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.pdb".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.csproj.CoreCompileInp
  uts.cache".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.dll".
  Excluindo o arquivo "d:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.pdb".
  Excluindo o arquivo "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\obj\Debug\ClassLibraryTest.csproj.AssemblyRefere
  nce.cache".
GenerateTargetFrameworkMonikerAttribute:
Ignorando o destino "GenerateTargetFrameworkMonikerAttribute" porque todos os arquivos de saída estão atualizados em re
lação aos arquivos de entrada.
SonarCategoriseProject:
  Sonar: (ClassLibraryTest.csproj) Categorizing project as test or product code...
  Sonar: (ClassLibraryTest.csproj) categorized as MAIN project (production code).
SonarCreateProjectSpecificDirs:
  Criando o diretório "D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0".
SonarWriteFilesToAnalyze:
  Sonar: (ClassLibraryTest.csproj) Number of files to analyse: 2. The list of files to be analyzed is in D:\DevLibTest\
  ClassLibraryTest\.sonarqube\conf\0\FilesToAnalyze.txt.
SetRoslynCodeAnalysisProperties:
  Sonar: (ClassLibraryTest.csproj) Analysis configured successfully with D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
  \0\SonarProjectConfig.xml.
SonarQubeImportBeforeInfo:
  Sonar: (ClassLibraryTest) SonarQube.Integration.ImportBefore.targets was loaded
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:17
  01,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll" /reference:"C:\Program Files (x86)\Referen
  ce Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll" /reference:"C:\Program Files (x86)\Reference As
  semblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.dll" /reference:"C:\Program Files (x86)\Refe
  rence Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll" /reference:"C:\Program Files (x86)\Reference Asse
  mblies\Microsoft\Framework\.NETFramework\v4.8\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assem
  blies\Microsoft\Framework\.NETFramework\v4.8\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\
  Microsoft\Framework\.NETFramework\v4.8\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\De
  bug\ClassLibraryTest.dll /ruleset:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\merged.ruleset /errorlog:D:\DevLib
  Test\ClassLibraryTest\.sonarqube\out\0\Issues.json /subsystemversion:6.00 /target:library /warnaserror- /utf8output /
  deterministic+ /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2\Google.Protobuf.dll /analyze
  r:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CFG.dll /analyzer:C:\Users\fauly.coel
  ho\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CSharp.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\T
  emp\.sonarqube\resources\2\SonarAnalyzer.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\
  3\Google.Protobuf.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.CFG.dll
   /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.dll /analyzer:C:\Users\fauly
  .coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.VisualBasic.dll /additionalfile:D:\DevLibTest\ClassLi
  braryTest\.sonarqube\conf\cs\SonarLint.xml /additionalfile:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\SonarProj
  ectConfig.xml /additionalfile:D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\0\ProjectOutFolderPath.txt Class1.cs Pro
  perties\AssemblyInfo.cs "C:\Users\fauly.coelho\AppData\Local\Temp\.NETFramework,Version=v4.8.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Profession
  al\MSBuild\15.0\Bin\Roslyn
Class1.cs(22,29): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(30,29): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(40,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(41,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(42,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest\C
lassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(34,34): warning CS0168: The variable 'ex' is declared but never used [D:\DevLibTest\ClassLibraryTest\ClassLib
raryTest\ClassLibraryTest.csproj]
Class1.cs(13,20): warning CS0168: The variable 'teste' is declared but never used [D:\DevLibTest\ClassLibraryTest\Class
LibraryTest\ClassLibraryTest.csproj]
Class1.cs(51,22): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcepti
on' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(47,21): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcepti
on' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(34,17): warning S2737: Add logic to this catch clause or eliminate it and rethrow the exception automatically
. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(24,25): warning S4524: Move this 'default:' case to the beginning or end of this 'switch' statement. [D:\DevL
ibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
Class1.cs(13,20): warning S1481: Remove the unused local variable 'teste'. [D:\DevLibTest\ClassLibraryTest\ClassLibrary
Test\ClassLibraryTest.csproj]
CopyFilesToOutputDirectory:
  Copiando o arquivo de "obj\Debug\ClassLibraryTest.dll" para "bin\Debug\ClassLibraryTest.dll".
  ClassLibraryTest -> D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\bin\Debug\ClassLibraryTest.dll
  Copiando o arquivo de "obj\Debug\ClassLibraryTest.pdb" para "bin\Debug\ClassLibraryTest.pdb".
SonarWriteProjectData:
  Sonar: (ClassLibraryTest.csproj) Project processed successfully
Projeto de compilação pronto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj" (Rebuild destino
(s)).

Projeto de compilação pronto "D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (Rebuild destino(s)).

Compilação com êxito.

"D:\DevLibTest\ClassLibraryTest\ClassLibraryTest.sln" (Rebuild destino) (1) ->
"D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj" (Rebuild destino) (2) ->
(CoreCompile destino) ->
  Class1.cs(22,29): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(30,29): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(40,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(41,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(42,13): warning CS0618: 'Class1.TestObsolet()' is obsolete: 'Do not use it' [D:\DevLibTest\ClassLibraryTest
\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(34,34): warning CS0168: The variable 'ex' is declared but never used [D:\DevLibTest\ClassLibraryTest\ClassL
ibraryTest\ClassLibraryTest.csproj]
  Class1.cs(13,20): warning CS0168: The variable 'teste' is declared but never used [D:\DevLibTest\ClassLibraryTest\Cla
ssLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(51,22): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcep
tion' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(47,21): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedExcep
tion' or complete the implementation. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(34,17): warning S2737: Add logic to this catch clause or eliminate it and rethrow the exception automatical
ly. [D:\DevLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(24,25): warning S4524: Move this 'default:' case to the beginning or end of this 'switch' statement. [D:\De
vLibTest\ClassLibraryTest\ClassLibraryTest\ClassLibraryTest.csproj]
  Class1.cs(13,20): warning S1481: Remove the unused local variable 'teste'. [D:\DevLibTest\ClassLibraryTest\ClassLibra
ryTest\ClassLibraryTest.csproj]

    12 Aviso(s)
    0 Erro(s)

Tempo Decorrido 00:00:04.91
PS D:\DevLibTest\ClassLibraryTest> SonarScanner.MSBuild.exe end /d:sonar.token="sqp_19187a667d4275712ed5f89d061a9409419c97db"
SonarScanner for MSBuild 5.13.1
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
20:28:19.131 20:28:19.127 Uninstalling target: D:\DevLibTest\ClassLibraryTest\.sonarqube\bin\targets\SonarQube.Integration.targets
20:28:19.133 20:28:19.131 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
20:28:19.138 Loading the SonarQube analysis config from D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml
20:28:19.14 Not running under TeamBuild
20:28:19.141 Analysis base directory: D:\DevLibTest\ClassLibraryTest\.sonarqube
Build directory:
Bin directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\bin
Config directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf
Output directory: D:\DevLibTest\ClassLibraryTest\.sonarqube\out
Config file: D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml
20:28:19.148 Generating SonarQube project properties file to D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties
20:28:19.168 Setting analysis property: sonar.visualstudio.enable=false
20:28:19.178 The supplied Code Analysis ErrorLog file is a valid json file and does not need to be fixed: D:\DevLibTest\ClassLibraryTest\.sonarqube\out\0\Issues.json
20:28:19.192 Using longest common projects path as a base directory: 'D:\DevLibTest\ClassLibraryTest\ClassLibraryTest'.
20:28:19.206 Dumping content of sonar-project.properties
------------------------------------------------------------------------
sonar.projectKey=qqq
sonar.working.directory=D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\.sonar
sonar.projectBaseDir=D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest
sonar.pullrequest.cache.basepath=D:\\DevLibTest\\ClassLibraryTest

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectKey=qqq:1ECA1CEF-EBB3-4245-ADA3-499688730D62
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectName=ClassLibraryTest
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.projectBaseDir=D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.sourceEncoding=utf-8
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.sources=\
"D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest\\Class1.cs",\
"D:\\DevLibTest\\ClassLibraryTest\\ClassLibraryTest\\Properties\\AssemblyInfo.cs"

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.cs.analyzer.projectOutPaths=\
"D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\0"
1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.cs.roslyn.reportFilePaths=\
"D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\0\\Issues.json"

1ECA1CEF-EBB3-4245-ADA3-499688730D62.sonar.working.directory=D:\\DevLibTest\\ClassLibraryTest\\.sonarqube\\out\\.sonar\\mod0
sonar.host.url=http://localhost:9000
sonar.visualstudio.enable=false

sonar.modules=1ECA1CEF-EBB3-4245-ADA3-499688730D62

------------------------------------------------------------------------
20:28:19.221 Writing processing summary to D:\DevLibTest\ClassLibraryTest\.sonarqube\out\ProjectInfo.log
Calling the TFS Processor executable...
Executing file D:\dev\TestSonarQube\scanner\SonarScanner.MSBuild.TFSProcessor.exe
  Args: ConvertCoverage D:\DevLibTest\ClassLibraryTest\.sonarqube\conf\SonarQubeAnalysisConfig.xml D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties
  Working directory: D:\DevLibTest\ClassLibraryTest
  Timeout (ms):-1
  Process id: 26664
Process returned exit code 0
The TFS Processor has finished
Calling the SonarScanner CLI...
Executing file D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat
  Args: -Dsonar.scanAllFiles=true -Dproject.settings=D:\DevLibTest\ClassLibraryTest\.sonarqube\out\sonar-project.properties --from=ScannerMSBuild/5.13.1 --debug <sensitive data removed>
  Working directory: D:\DevLibTest\ClassLibraryTest
  Timeout (ms):-1
  Process id: 29436
Process returned exit code 0
The SonarScanner CLI has finished
20:28:19.677 Post-processing succeeded.

```

So, I tried to run the sonar-scanner.bat directly and I can see the dashboard but without any code smell (It was supposed to show because I put some code smell there):

> sonar-scanner.bat -D"sonar.projectKey=" -D"sonar.sources=." -D"sonar.host.url=[http://localhost:9000](http://localhost:9000)" -D"sonar.login="

And now the displayed message was: " WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or [VB.NET](http://VB.NET), you must use the SonarScanner for .NET 5.x or higher, see [SonarScanner for .NET](https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html) "

> PS D:\DevLibTest\ClassLibraryTest\> sonar-scanner.bat -D"sonar.projectKey=qqq" -D"sonar.sources=." -D"sonar.host.url=[http://localhost:9000](http://localhost:9000)" -D"sonar.login=sqp\_19187a667d4275712ed5f89d061a9409419c97db"  
> INFO: Scanner configuration file: D:\dev\TestSonarQube\scanner-cli\bin..\conf\sonar-scanner.properties  
> INFO: Project root configuration file: NONE  
> INFO: SonarScanner 5.0.1.3006  
> INFO: Java 17.0.7 Eclipse Adoptium (64-bit)  
> INFO: Windows 10 10.0 amd64  
> INFO: User cache: C:\Users\fauly.coelho.sonar\cache  
> INFO: Analyzing on SonarQube server 9.9.1.69595  
> INFO: Default locale: “pt\_BR”, source code encoding: “windows-1252” (analysis is platform dependent)  
> INFO: Load global settings  
> INFO: Load global settings (done) | time=59ms  
> INFO: Server id: 147B411E-AYpBtTVilaLmDHN4FRdY  
> INFO: User cache: C:\Users\fauly.coelho.sonar\cache  
> INFO: Load/download plugins  
> INFO: Load plugins index  
> INFO: Load plugins index (done) | time=40ms  
> INFO: Load/download plugins (done) | time=118ms  
> INFO: Process project properties  
> INFO: Process project properties (done) | time=0ms  
> INFO: Execute project builders  
> INFO: Execute project builders (done) | time=0ms  
> INFO: Project key: qqq  
> INFO: Base dir: D:\DevLibTest\ClassLibraryTest  
> INFO: Working dir: D:\DevLibTest\ClassLibraryTest.scannerwork  
> INFO: Load project settings for component key: ‘qqq’  
> INFO: Load project settings for component key: ‘qqq’ (done) | time=26ms  
> INFO: Load quality profiles  
> INFO: Load quality profiles (done) | time=38ms  
> INFO: Load active rules  
> INFO: Load active rules (done) | time=1091ms  
> INFO: Load analysis cache  
> INFO: Load analysis cache (404) | time=12ms  
> INFO: Load project repositories  
> INFO: Load project repositories (done) | time=25ms  
> INFO: Indexing files…  
> INFO: Project configuration:  
> INFO: 40 files indexed  
> INFO: Quality profile for cs: Sonar way  
> INFO: Quality profile for json: Sonar way  
> INFO: Quality profile for xml: Sonar way  
> INFO: ------------- Run sensors on module qqq  
> INFO: Load metrics repository  
> INFO: Load metrics repository (done) | time=26ms  
> INFO: Sensor JaCoCo XML Report Importer [jacoco]  
> INFO: ‘sonar.coverage.jacoco.xmlReportPaths’ is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml  
> INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer  
> INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=16ms  
> INFO: Sensor IaC CloudFormation Sensor [iac]  
> INFO: 0 source files to be analyzed  
> INFO: 0/0 source files have been analyzed  
> INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=53ms  
> INFO: Sensor IaC Kubernetes Sensor [iac]  
> INFO: 0 source files to be analyzed  
> INFO: 0/0 source files have been analyzed  
> INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=0ms  
> INFO: Sensor CSS Rules [javascript]  
> INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.  
> INFO: Sensor CSS Rules [javascript] (done) | time=0ms  
> INFO: Sensor C# Project Type Information [csharp]  
> INFO: Sensor C# Project Type Information [csharp] (done) | time=0ms  
> INFO: Sensor C# Analysis Log [csharp]  
> INFO: Sensor C# Analysis Log [csharp] (done) | time=15ms  
> INFO: Sensor C# Properties [csharp]  
> INFO: Sensor C# Properties [csharp] (done) | time=0ms  
> INFO: Sensor HTML [web]  
> INFO: Sensor HTML [web] (done) | time=16ms  
> INFO: Sensor XML Sensor [xml]  
> INFO: 5 source files to be analyzed  
> INFO: 5/5 source files have been analyzed  
> INFO: Sensor XML Sensor [xml] (done) | time=313ms  
> INFO: Sensor TextAndSecretsSensor [text]  
> INFO: 12 source files to be analyzed  
> INFO: 12/12 source files have been analyzed  
> INFO: Sensor TextAndSecretsSensor [text] (done) | time=72ms  
> INFO: Sensor [VB.NET](http://VB.NET) Project Type Information [vbnet]  
> INFO: Sensor [VB.NET](http://VB.NET) Project Type Information [vbnet] (done) | time=0ms  
> INFO: Sensor [VB.NET](http://VB.NET) Analysis Log [vbnet]  
> INFO: Sensor [VB.NET](http://VB.NET) Analysis Log [vbnet] (done) | time=16ms  
> INFO: Sensor [VB.NET](http://VB.NET) Properties [vbnet]  
> INFO: Sensor [VB.NET](http://VB.NET) Properties [vbnet] (done) | time=0ms  
> INFO: Sensor IaC Docker Sensor [iac]  
> INFO: 0 source files to be analyzed  
> INFO: 0/0 source files have been analyzed  
> INFO: Sensor IaC Docker Sensor [iac] (done) | time=47ms  
> INFO: ------------- Run sensors on project  
> INFO: Sensor C# [csharp]  
> WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or [VB.NET](http://VB.NET), you must use the SonarScanner for .NET 5.x or higher, see [SonarScanner for .NET](https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html)  
> INFO: Sensor C# [csharp] (done) | time=0ms  
> INFO: Sensor Analysis Warnings import [csharp]  
> INFO: Sensor Analysis Warnings import [csharp] (done) | time=0ms  
> INFO: Sensor C# File Caching Sensor [csharp]  
> WARN: Incremental PR analysis: Could not determine common base path, cache will not be computed. Consider setting ‘sonar.projectBaseDir’ property.  
> INFO: Sensor C# File Caching Sensor [csharp] (done) | time=0ms  
> INFO: Sensor Zero Coverage Sensor  
> INFO: Sensor Zero Coverage Sensor (done) | time=15ms  
> INFO: SCM Publisher is disabled  
> INFO: CPD Executor Calculating CPD for 0 files  
> INFO: CPD Executor CPD calculation finished (done) | time=0ms  
> INFO: Analysis report generated in 109ms, dir size=222.7 kB  
> INFO: Analysis report compressed in 59ms, zip size=43.0 kB  
> INFO: Analysis report uploaded in 22ms  
> INFO: ANALYSIS SUCCESSFUL, you can find the results at: [http://localhost:9000/dashboard?id=qqq](http://localhost:9000/dashboard?id=qqq)  
> INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report  
> INFO: More about the report processing at [http://localhost:9000/api/ce/task?id=AYpDgxtLNTK5s9pArzzg](http://localhost:9000/api/ce/task?id=AYpDgxtLNTK5s9pArzzg)  
> INFO: Analysis total time: 4.278 s  
> INFO: ------------------------------------------------------------------------  
> INFO: EXECUTION SUCCESS  
> INFO: ------------------------------------------------------------------------  
> INFO: Total time: 5.417s  
> INFO: Final Memory: 16M/60M  
> INFO: ------------------------------------------------------------------------

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/a/d/ad9688a7c8b138acc1d27b0129600e445650f4c3.png)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/3/5/350bfb68e677161389f50dffddbd1df76c13db17.png)

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 30, 2023, 12:04am UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/10 "2023-08-30T00:04:32Z")

</div>

Another example:  
I ran:

```auto
 SonarScanner.MSBuild.exe begin /k:"consoletestsq" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"

MsBuild.exe /t:Rebuild

SonarScanner.MSBuild.exe end /d:sonar.login="sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"

D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat -D"sonar.projectKey=consoletestsq" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000" -D"sonar.login=sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"

```

```auto
PS D:\ConsoleTesteSQ\ConsoleApp1> SonarScanner.MSBuild.exe begin /k:"consoletestsq" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_b7a590e85155e03a96af1a8b3e457d5376938fde" /d:sonar-verbose=true
SonarScanner for MSBuild 5.13.1
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
21:01:36.214 Updating build integration targets...
21:01:36.288 Fetching analysis configuration settings...
21:01:36.486 Provisioning analyzer assemblies for cs...
21:01:36.487 Installing required Roslyn analyzers...
21:01:36.487 Processing plugin: csharp version 8.51.0.59060
21:01:36.496 Processing plugin: vbnet version 8.51.0.59060
21:01:36.583 Provisioning analyzer assemblies for vbnet...
21:01:36.583 Installing required Roslyn analyzers...
21:01:36.583 Processing plugin: csharp version 8.51.0.59060
21:01:36.584 Processing plugin: vbnet version 8.51.0.59060
21:01:36.591 Incremental PR analysis: Base branch parameter was not provided.
21:01:36.591 Cache data is empty. A full analysis will be performed.
21:01:36.611 Pre-processing succeeded.
PS D:\ConsoleTesteSQ\ConsoleApp1> SonarScanner.MSBuild.exe begin /k:"consoletestsq" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"
SonarScanner for MSBuild 5.13.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
21:01:55.15 21:01:55.14 Loading analysis properties from D:\dev\TestSonarQube\scanner\SonarQube.Analysis.xml
21:01:55.151 21:01:55.15 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
21:01:55.153 Updating build integration targets...
21:01:55.156 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
21:01:55.157 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
21:01:55.157 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
21:01:55.157 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
21:01:55.158 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
21:01:55.158 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
21:01:55.159 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
21:01:55.162 Installed SonarQube.Integration.targets to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\bin\targets
21:01:55.167 Creating config and output folders...
21:01:55.169 Creating directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf
21:01:55.171 Creating directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out
21:01:55.19 Fetching server version...
21:01:55.194 Downloading from http://localhost:9000/api/server/version...
21:01:55.224 Response received from http://localhost:9000/api/server/version...
21:01:55.233 Checking validity of server license
21:01:55.234 Downloading from http://localhost:9000/api/editions/is_valid_license...
21:01:55.241 Response received from http://localhost:9000/api/editions/is_valid_license...
21:01:55.244 SonarQube Community Edition detected, license is valid.
21:01:55.25 Fetching analysis configuration settings...
21:01:55.255 Fetching properties for project 'consoletestsq'...
21:01:55.257 Downloading from http://localhost:9000/api/settings/values?component=consoletestsq...
21:01:55.273 Response received from http://localhost:9000/api/settings/values?component=consoletestsq...
21:01:55.279 Downloading from http://localhost:9000/api/languages/list...
21:01:55.284 Response received from http://localhost:9000/api/languages/list...
21:01:55.29 Fetching quality profile for project 'consoletestsq'...
21:01:55.291 Downloading from http://localhost:9000/api/qualityprofiles/search?project=consoletestsq...
21:01:55.313 Response received from http://localhost:9000/api/qualityprofiles/search?project=consoletestsq...
21:01:55.318 Fetching rules for quality profile 'AYpBthQ7laLmDHN4FaZo'...
21:01:55.321 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
21:01:55.439 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
21:01:55.452 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
21:01:55.459 Writing Roslyn generated ruleset to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\Sonar-cs.ruleset...
21:01:55.472 Writing Roslyn generated ruleset to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\Sonar-cs-none.ruleset...
21:01:55.476 Provisioning analyzer assemblies for cs...
21:01:55.478 Installing required Roslyn analyzers...
21:01:55.479 Processing plugin: csharp version 8.51.0.59060
21:01:55.489 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
21:01:55.49 Processing plugin: vbnet version 8.51.0.59060
21:01:55.491 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
21:01:55.499 Writing Roslyn analyzer additional file to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\cs\SonarLint.xml...
21:01:55.502 Fetching quality profile for project 'consoletestsq'...
21:01:55.504 Downloading from http://localhost:9000/api/qualityprofiles/search?project=consoletestsq...
21:01:55.524 Response received from http://localhost:9000/api/qualityprofiles/search?project=consoletestsq...
21:01:55.525 Fetching rules for quality profile 'AYpBthpilaLmDHN4FbJE'...
21:01:55.529 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
21:01:55.604 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
21:01:55.608 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
21:01:55.61 Writing Roslyn generated ruleset to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\Sonar-vbnet.ruleset...
21:01:55.612 Writing Roslyn generated ruleset to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\Sonar-vbnet-none.ruleset...
21:01:55.613 Provisioning analyzer assemblies for vbnet...
21:01:55.614 Installing required Roslyn analyzers...
21:01:55.614 Processing plugin: csharp version 8.51.0.59060
21:01:55.615 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
21:01:55.615 Processing plugin: vbnet version 8.51.0.59060
21:01:55.616 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
21:01:55.619 Writing Roslyn analyzer additional file to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\vbnet\SonarLint.xml...
21:01:55.622 Processing analysis cache
21:01:55.626 Incremental PR analysis: Base branch parameter was not provided.
21:01:55.63 Cache data is empty. A full analysis will be performed.
21:01:55.653 Pre-processing succeeded.
PS D:\ConsoleTesteSQ\ConsoleApp1>
PS D:\ConsoleTesteSQ\ConsoleApp1> MsBuild.exe /t:Rebuild
Microsoft(R) Build Engine versão 15.9.21+g9802d43bc3 para .NET Framework
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

Compilando os projetos desta solução um de cada vez. Para habilitar o build paralelo, adicione a opção "/m".
Compilação de 29/08/2023 21:02:07 iniciada.
Projeto "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1.sln" no nó 1 (Rebuild destino(s)).
ValidateSolutionConfiguration:
  Compilando a configuração de solução "Debug|Any CPU".
O projeto "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1.sln" (1) está compilando "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj" (2) no nó 1 (Rebuild destino(s)).
CoreClean:
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csprojAssemblyReference.cache".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.exe".
  Excluindo o arquivo "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.pdb".
GenerateBindingRedirects:
  Nenhum redirecionamento de associação sugerido de ResolveAssemblyReferences.
GenerateTargetFrameworkMonikerAttribute:
Ignorando o destino "GenerateTargetFrameworkMonikerAttribute" porque todos os arquivos de saída estão atualizados em relação aos arquivos de entrada.
SonarCategoriseProject:
  Sonar: (ConsoleApp1.csproj) Categorizing project as test or product code...
  Sonar: (ConsoleApp1.csproj) categorized as MAIN project (production code).
SonarCreateProjectSpecificDirs:
  Criando o diretório "D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0".
SonarWriteFilesToAnalyze:
  Sonar: (ConsoleApp1.csproj) Number of files to analyse: 3. The list of files to be analyzed is in D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0\FilesToAnalyze.txt.
SetRoslynCodeAnalysisProperties:
  Sonar: (ConsoleApp1.csproj) Analysis configured successfully with D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0\SonarProjectConfig.xml.
SonarQubeImportBeforeInfo:
  Sonar: (ConsoleApp1) SonarQube.Integration.ImportBefore.targets was loaded
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:anycpu32bitpreferred /errorreport:prompt
   /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Microsoft.CSharp.dll" /reference:"C:\Program F
  iles (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System
  .Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference
  Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll" /reference:"
  C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFr
  amework\v4.8\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optim
  ize- /out:obj\Debug\ConsoleApp1.exe /ruleset:D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0\merged.ruleset /errorlog:D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\0\Issues.json /subsyste
  mversion:6.00 /target:exe /warnaserror- /utf8output /deterministic+ /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2\Google.Protobuf.dll /analyzer:C:\Users\fauly
  .coelho\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CFG.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CSharp.dll /analyzer:C:\Us
  ers\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\Google.Protobuf.dll /analyzer:C:\Us
  ers\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.CFG.dll /analyzer:C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.dll /analyzer:C:\
  Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.VisualBasic.dll /additionalfile:D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\cs\SonarLint.xml /additionalfile:
  D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0\SonarProjectConfig.xml /additionalfile:D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\0\ProjectOutFolderPath.txt Program.cs Properties\Asse
  mblyInfo.cs "C:\Users\fauly.coelho\AppData\Local\Temp\.NETFramework,Version=v4.8.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn
Program.cs(22,29): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(30,29): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(40,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(41,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(42,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(34,34): warning CS0168: The variable 'ex' is declared but never used [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(13,20): warning CS0168: The variable 'teste' is declared but never used [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(9,11): warning S1118: Add a 'protected' constructor or the 'static' keyword to the class declaration. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(50,29): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. [D:\ConsoleTesteSQ\ConsoleApp1\C
onsoleApp1\ConsoleApp1.csproj]
Program.cs(46,28): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. [D:\ConsoleTesteSQ\ConsoleApp1\C
onsoleApp1\ConsoleApp1.csproj]
Program.cs(34,17): warning S2737: Add logic to this catch clause or eliminate it and rethrow the exception automatically. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(24,25): warning S4524: Move this 'default:' case to the beginning or end of this 'switch' statement. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Program.cs(13,20): warning S1481: Remove the unused local variable 'teste'. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
_CopyAppConfigFile:
  Copiando o arquivo de "App.config" para "bin\Debug\ConsoleApp1.exe.config".
CopyFilesToOutputDirectory:
  Copiando o arquivo de "obj\Debug\ConsoleApp1.exe" para "bin\Debug\ConsoleApp1.exe".
  ConsoleApp1 -> D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
  Copiando o arquivo de "obj\Debug\ConsoleApp1.pdb" para "bin\Debug\ConsoleApp1.pdb".
SonarWriteProjectData:
  Sonar: (ConsoleApp1.csproj) Project processed successfully
Projeto de compilação pronto "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj" (Rebuild destino(s)).

Projeto de compilação pronto "D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1.sln" (Rebuild destino(s)).

Compilação com êxito.

"D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1.sln" (Rebuild destino) (1) ->
"D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj" (Rebuild destino) (2) ->
(CoreCompile destino) ->
  Program.cs(22,29): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(30,29): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(40,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(41,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(42,13): warning CS0618: 'Program.TestObsolet()' is obsolete: 'Do not use it' [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(34,34): warning CS0168: The variable 'ex' is declared but never used [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(13,20): warning CS0168: The variable 'teste' is declared but never used [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(9,11): warning S1118: Add a 'protected' constructor or the 'static' keyword to the class declaration. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(50,29): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. [D:\ConsoleTesteSQ\ConsoleApp1
\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(46,28): warning S1186: Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. [D:\ConsoleTesteSQ\ConsoleApp1
\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(34,17): warning S2737: Add logic to this catch clause or eliminate it and rethrow the exception automatically. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(24,25): warning S4524: Move this 'default:' case to the beginning or end of this 'switch' statement. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  Program.cs(13,20): warning S1481: Remove the unused local variable 'teste'. [D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]

    13 Aviso(s)
    0 Erro(s)

Tempo Decorrido 00:00:01.67
PS D:\ConsoleTesteSQ\ConsoleApp1> SonarScanner.MSBuild.exe end /d:sonar.login="sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"
SonarScanner for MSBuild 5.13.1
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
21:02:11.958 21:02:11.954 Uninstalling target: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\bin\targets\SonarQube.Integration.targets
21:02:11.961 21:02:11.958 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
21:02:11.969 Loading the SonarQube analysis config from D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\SonarQubeAnalysisConfig.xml
21:02:11.97 Not running under TeamBuild
21:02:11.974 Analysis base directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube
Build directory:
Bin directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\bin
Config directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf
Output directory: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out
Config file: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\SonarQubeAnalysisConfig.xml
21:02:11.987 Generating SonarQube project properties file to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\sonar-project.properties
21:02:12.009 Setting analysis property: sonar.visualstudio.enable=false
21:02:12.018 The supplied Code Analysis ErrorLog file is a valid json file and does not need to be fixed: D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\0\Issues.json
21:02:12.036 Using longest common projects path as a base directory: 'D:\ConsoleTesteSQ\ConsoleApp1\ConsoleApp1'.
21:02:12.049 Dumping content of sonar-project.properties
------------------------------------------------------------------------
sonar.projectKey=consoletestsq
sonar.working.directory=D:\\ConsoleTesteSQ\\ConsoleApp1\\.sonarqube\\out\\.sonar
sonar.projectBaseDir=D:\\ConsoleTesteSQ\\ConsoleApp1\\ConsoleApp1
sonar.pullrequest.cache.basepath=D:\\ConsoleTesteSQ\\ConsoleApp1

2A90DE88-C512-40FC-9FC0-523947D66357.sonar.projectKey=consoletestsq:2A90DE88-C512-40FC-9FC0-523947D66357
2A90DE88-C512-40FC-9FC0-523947D66357.sonar.projectName=ConsoleApp1
2A90DE88-C512-40FC-9FC0-523947D66357.sonar.projectBaseDir=D:\\ConsoleTesteSQ\\ConsoleApp1\\ConsoleApp1
2A90DE88-C512-40FC-9FC0-523947D66357.sonar.sourceEncoding=utf-8
2A90DE88-C512-40FC-9FC0-523947D66357.sonar.sources=\
"D:\\ConsoleTesteSQ\\ConsoleApp1\\ConsoleApp1\\Program.cs",\
"D:\\ConsoleTesteSQ\\ConsoleApp1\\ConsoleApp1\\Properties\\AssemblyInfo.cs",\
"D:\\ConsoleTesteSQ\\ConsoleApp1\\ConsoleApp1\\App.config"

2A90DE88-C512-40FC-9FC0-523947D66357.sonar.cs.analyzer.projectOutPaths=\
"D:\\ConsoleTesteSQ\\ConsoleApp1\\.sonarqube\\out\\0"
2A90DE88-C512-40FC-9FC0-523947D66357.sonar.cs.roslyn.reportFilePaths=\
"D:\\ConsoleTesteSQ\\ConsoleApp1\\.sonarqube\\out\\0\\Issues.json"

2A90DE88-C512-40FC-9FC0-523947D66357.sonar.working.directory=D:\\ConsoleTesteSQ\\ConsoleApp1\\.sonarqube\\out\\.sonar\\mod0
sonar.host.url=http://localhost:9000
sonar.visualstudio.enable=false

sonar.modules=2A90DE88-C512-40FC-9FC0-523947D66357

------------------------------------------------------------------------
21:02:12.068 Writing processing summary to D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\ProjectInfo.log
Calling the TFS Processor executable...
Executing file D:\dev\TestSonarQube\scanner\SonarScanner.MSBuild.TFSProcessor.exe
  Args: ConvertCoverage D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\conf\SonarQubeAnalysisConfig.xml D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\sonar-project.properties
  Working directory: D:\ConsoleTesteSQ\ConsoleApp1
  Timeout (ms):-1
  Process id: 12460
Process returned exit code 0
The TFS Processor has finished
Calling the SonarScanner CLI...
Executing file D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat
  Args: -Dsonar.scanAllFiles=true -Dproject.settings=D:\ConsoleTesteSQ\ConsoleApp1\.sonarqube\out\sonar-project.properties --from=ScannerMSBuild/5.13.1 --debug <sensitive data removed>
  Working directory: D:\ConsoleTesteSQ\ConsoleApp1
  Timeout (ms):-1
  Process id: 26916
Process returned exit code 0
The SonarScanner CLI has finished
21:02:12.502 Post-processing succeeded.
PS D:\ConsoleTesteSQ\ConsoleApp1> D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat -D"sonar.projectKey=consoletestsq" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000" -D"sonar.login=sqp_b7a590e85155e03a96af1a8b3e457d5376938fde"
INFO: Scanner configuration file: D:\dev\TestSonarQube\scanner\sonar-scanner-4.8.1.3023\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 4.8.1.3023
INFO: Java 17.0.8 Oracle Corporation (64-bit)
INFO: Windows 10 10.0 amd64
INFO: User cache: C:\Users\fauly.coelho\.sonar\cache
INFO: Analyzing on SonarQube server 9.9.1.69595
INFO: Default locale: "pt_BR", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=58ms
INFO: Server id: 147B411E-AYpBtTVilaLmDHN4FRdY
INFO: User cache: C:\Users\fauly.coelho\.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=31ms
INFO: Load/download plugins (done) | time=89ms
INFO: Process project properties
INFO: Process project properties (done) | time=8ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=2ms
INFO: Project key: consoletestsq
INFO: Base dir: D:\ConsoleTesteSQ\ConsoleApp1
INFO: Working dir: D:\ConsoleTesteSQ\ConsoleApp1\.scannerwork
INFO: Load project settings for component key: 'consoletestsq'
INFO: Load project settings for component key: 'consoletestsq' (done) | time=20ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=32ms
INFO: Load active rules
INFO: Load active rules (done) | time=1107ms
INFO: Load analysis cache
INFO: Load analysis cache (404) | time=12ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=17ms
INFO: Indexing files...
INFO: Project configuration:
INFO: 41 files indexed
INFO: Quality profile for cs: Sonar way
INFO: Quality profile for json: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module consoletestsq
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=27ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=11ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=51ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=15ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=1ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=16ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=3ms
INFO: Sensor XML Sensor [xml]
INFO: 5 source files to be analyzed
INFO: 5/5 source files have been analyzed
INFO: Sensor XML Sensor [xml] (done) | time=450ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 11 source files to be analyzed
INFO: 11/11 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=57ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=8ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=8ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=41ms
INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher, see https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html
INFO: Sensor C# [csharp] (done) | time=2ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
INFO: Sensor C# File Caching Sensor [csharp]
WARN: Incremental PR analysis: Could not determine common base path, cache will not be computed. Consider setting 'sonar.projectBaseDir' property.
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=1ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=6ms
INFO: SCM Publisher is disabled
INFO: CPD Executor Calculating CPD for 0 files
INFO: CPD Executor CPD calculation finished (done) | time=0ms
INFO: Analysis report generated in 100ms, dir size=222.5 kB
INFO: Analysis report compressed in 37ms, zip size=42.5 kB
INFO: Analysis report uploaded in 19ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=consoletestsq
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AYpDwAyQNTK5s9pArzz2
INFO: Analysis total time: 4.240 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 5.209s
INFO: Final Memory: 16M/60M
INFO: ------------------------------------------------------------------------
PS D:\ConsoleTesteSQ\ConsoleApp1>

```

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [August 30, 2023, 1:44pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/13 "2023-08-30T13:44:32Z")

</div>

Another example but now using a project with .net 7 framework and Scanner .NET Core Global Tool.  
Apparently the scanner tool couldn’t start the sonar-scanner.bat correctly, but that task returned exit 0.

commands:

```auto
dotnet sonarscanner begin /k:"netsete" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"

dotnet build

dotnet sonarscanner end /d:sonar.login="sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"

C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat -D"sonar.projectKey=netsete" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000" -D"sonar.login=sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"

```

Detailed

```auto
D:\dev\NETSETE\ConsoleApp1>dotnet sonarscanner begin /k:"netsete" /d:sonar.verbose=true /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"
SonarScanner for MSBuild 5.13.1
Using the .NET Core version of the Scanner for MSBuild
Default properties file was found at C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\SonarQube.Analysis.xml
Loading analysis properties from C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
10:37:14.735 10:37:14.727 Loading analysis properties from C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\SonarQube.Analysis.xml
10:37:14.736 10:37:14.735 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
10:37:14.747 Updating build integration targets...
10:37:14.763 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
10:37:14.764 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
10:37:14.766 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
10:37:14.767 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
10:37:14.768 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
10:37:14.768 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
10:37:14.769 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\fauly.coelho\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
10:37:14.795 Installed SonarQube.Integration.targets to D:\dev\NETSETE\ConsoleApp1\.sonarqube\bin\targets
10:37:14.799 Creating config and output folders...
10:37:14.804 Creating directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf
10:37:14.807 Creating directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube\out
10:37:14.826 Fetching server version...
10:37:14.832 Downloading from http://localhost:9000/api/server/version...
10:37:14.914 Response received from http://localhost:9000/api/server/version...
10:37:14.935 Checking validity of server license
10:37:14.936 Downloading from http://localhost:9000/api/editions/is_valid_license...
10:37:14.946 Response received from http://localhost:9000/api/editions/is_valid_license...
10:37:14.967 SonarQube Community Edition detected, license is valid.
10:37:14.971 Fetching analysis configuration settings...
10:37:14.98 Fetching properties for project 'netsete'...
10:37:14.982 Downloading from http://localhost:9000/api/settings/values?component=netsete...
10:37:15.02 Response received from http://localhost:9000/api/settings/values?component=netsete...
10:37:15.037 Downloading from http://localhost:9000/api/languages/list...
10:37:15.044 Response received from http://localhost:9000/api/languages/list...
10:37:15.049 Fetching quality profile for project 'netsete'...
10:37:15.051 Downloading from http://localhost:9000/api/qualityprofiles/search?project=netsete...
10:37:15.188 Response received from http://localhost:9000/api/qualityprofiles/search?project=netsete...
10:37:15.197 Fetching rules for quality profile 'AYpBthQ7laLmDHN4FaZo'...
10:37:15.198 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
10:37:15.804 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthQ7laLmDHN4FaZo&p=1...
10:37:15.84 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
10:37:15.857 Writing Roslyn generated ruleset to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\Sonar-cs.ruleset...
10:37:15.893 Writing Roslyn generated ruleset to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\Sonar-cs-none.ruleset...
10:37:15.902 Provisioning analyzer assemblies for cs...
10:37:15.904 Installing required Roslyn analyzers...
10:37:15.909 Processing plugin: csharp version 8.51.0.59060
10:37:15.999 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
10:37:16.001 Processing plugin: vbnet version 8.51.0.59060
10:37:16.013 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
10:37:16.021 Writing Roslyn analyzer additional file to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\cs\SonarLint.xml...
10:37:16.044 Fetching quality profile for project 'netsete'...
10:37:16.048 Downloading from http://localhost:9000/api/qualityprofiles/search?project=netsete...
10:37:16.104 Response received from http://localhost:9000/api/qualityprofiles/search?project=netsete...
10:37:16.114 Fetching rules for quality profile 'AYpBthpilaLmDHN4FbJE'...
10:37:16.117 Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
10:37:16.488 Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYpBthpilaLmDHN4FbJE&p=1...
10:37:16.496 Local analyzer cache: C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources
10:37:16.497 Writing Roslyn generated ruleset to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\Sonar-vbnet.ruleset...
10:37:16.504 Writing Roslyn generated ruleset to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\Sonar-vbnet-none.ruleset...
10:37:16.512 Provisioning analyzer assemblies for vbnet...
10:37:16.513 Installing required Roslyn analyzers...
10:37:16.514 Processing plugin: csharp version 8.51.0.59060
10:37:16.516 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\2
10:37:16.517 Processing plugin: vbnet version 8.51.0.59060
10:37:16.521 Cache hit: using plugin files from C:\Users\fauly.coelho\AppData\Local\Temp\.sonarqube\resources\3
10:37:16.527 Writing Roslyn analyzer additional file to D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\vbnet\SonarLint.xml...
10:37:16.554 Processing analysis cache
10:37:16.559 Incremental PR analysis: Base branch parameter was not provided.
10:37:16.561 Cache data is empty. A full analysis will be performed.
10:37:16.607 Pre-processing succeeded.

D:\dev\NETSETE\ConsoleApp1>dotnet build
MSBuild version 17.6.8+c70978d4d for .NET
  Determinando os projetos a serem restaurados...
  Todos os projetos estão atualizados para restauração.
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(10,17): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(18,17): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(28,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(29,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(30,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(6,30): warning CS8604: Possível argumento de referência nula para o p
arâmetro 's' em 'int int.Parse(string s)'. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(22,22): warning CS0168: A variável "ex" está declarada, mas nunca é u
sada [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(1,8): warning CS0168: A variável "teste" está declarada, mas nunca é
usada [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(22,5): warning S2737: Add logic to this catch clause or eliminate it
and rethrow the exception automatically. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(12,13): warning S4524: Move this 'default:' case to the beginning or
end of this 'switch' statement. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(34,13): warning S1186: Add a nested comment explaining why this metho
d is empty, throw a 'NotSupportedException' or complete the implementation. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Con
soleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(38,13): warning S1186: Add a nested comment explaining why this metho
d is empty, throw a 'NotSupportedException' or complete the implementation. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Con
soleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(35,1): warning S108: Either remove or fill this block of code. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(39,1): warning S108: Either remove or fill this block of code. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(1,8): warning S1481: Remove the unused local variable 'teste'. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
  ConsoleApp1 -> D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\bin\Debug\net7.0\ConsoleApp1.dll
  Sonar: (ConsoleApp1.csproj) Project processed successfully

Compilação com êxito.

D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(10,17): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(18,17): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(28,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(29,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(30,1): warning CS0618: "TestObsolet()" é obsoleto: "Do not use it" [D
:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(6,30): warning CS8604: Possível argumento de referência nula para o p
arâmetro 's' em 'int int.Parse(string s)'. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(22,22): warning CS0168: A variável "ex" está declarada, mas nunca é u
sada [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(1,8): warning CS0168: A variável "teste" está declarada, mas nunca é
usada [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(22,5): warning S2737: Add logic to this catch clause or eliminate it
and rethrow the exception automatically. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(12,13): warning S4524: Move this 'default:' case to the beginning or
end of this 'switch' statement. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(34,13): warning S1186: Add a nested comment explaining why this metho
d is empty, throw a 'NotSupportedException' or complete the implementation. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Con
soleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(38,13): warning S1186: Add a nested comment explaining why this metho
d is empty, throw a 'NotSupportedException' or complete the implementation. [D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Con
soleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(35,1): warning S108: Either remove or fill this block of code. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(39,1): warning S108: Either remove or fill this block of code. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
D:\dev\NETSETE\ConsoleApp1\ConsoleApp1\Program.cs(1,8): warning S1481: Remove the unused local variable 'teste'. [D:\de
v\NETSETE\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
    15 Aviso(s)
    0 Erro(s)

Tempo Decorrido 00:00:07.60

D:\dev\NETSETE\ConsoleApp1>dotnet sonarscanner end /d:sonar.login="sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"
SonarScanner for MSBuild 5.13.1
Using the .NET Core version of the Scanner for MSBuild
Post-processing started.
10:37:31.114 10:37:31.108 Uninstalling target: D:\dev\NETSETE\ConsoleApp1\.sonarqube\bin\targets\SonarQube.Integration.targets
10:37:31.12 10:37:31.114 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
10:37:31.122 Loading the SonarQube analysis config from D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\SonarQubeAnalysisConfig.xml
10:37:31.123 Not running under TeamBuild
10:37:31.124 Analysis base directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube
Build directory:
Bin directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube\bin
Config directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf
Output directory: D:\dev\NETSETE\ConsoleApp1\.sonarqube\out
Config file: D:\dev\NETSETE\ConsoleApp1\.sonarqube\conf\SonarQubeAnalysisConfig.xml
10:37:31.127 Generating SonarQube project properties file to D:\dev\NETSETE\ConsoleApp1\.sonarqube\out\sonar-project.properties
10:37:31.202 Setting analysis property: sonar.visualstudio.enable=false
10:37:31.227 The supplied Code Analysis ErrorLog file is a valid json file and does not need to be fixed: D:\dev\NETSETE\ConsoleApp1\.sonarqube\out\0\Issues.json
10:37:31.241 Using longest common projects path as a base directory: 'D:\dev\NETSETE\ConsoleApp1\ConsoleApp1'.
10:37:31.264 Dumping content of sonar-project.properties
------------------------------------------------------------------------
sonar.projectKey=netsete
sonar.working.directory=D:\\dev\\NETSETE\\ConsoleApp1\\.sonarqube\\out\\.sonar
sonar.projectBaseDir=D:\\dev\\NETSETE\\ConsoleApp1\\ConsoleApp1
sonar.pullrequest.cache.basepath=D:\\dev\\NETSETE\\ConsoleApp1

19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.projectKey=netsete:19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9
19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.projectName=ConsoleApp1
19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.projectBaseDir=D:\\dev\\NETSETE\\ConsoleApp1\\ConsoleApp1
19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.sourceEncoding=utf-8
19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.sources=\
"D:\\dev\\NETSETE\\ConsoleApp1\\ConsoleApp1\\Program.cs"

19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.cs.analyzer.projectOutPaths=\
"D:\\dev\\NETSETE\\ConsoleApp1\\.sonarqube\\out\\0"
19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.cs.roslyn.reportFilePaths=\
"D:\\dev\\NETSETE\\ConsoleApp1\\.sonarqube\\out\\0\\Issues.json"

19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9.sonar.working.directory=D:\\dev\\NETSETE\\ConsoleApp1\\.sonarqube\\out\\.sonar\\mod0
sonar.host.url=http://localhost:9000
sonar.visualstudio.enable=false

sonar.modules=19F9C088-BA7A-4D10-9B49-76BFB0BB5DB9

------------------------------------------------------------------------
10:37:31.28 Writing processing summary to D:\dev\NETSETE\ConsoleApp1\.sonarqube\out\ProjectInfo.log
Calling the SonarScanner CLI...
Executing file C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat
  Args: -Dsonar.scanAllFiles=true -Dproject.settings=D:\dev\NETSETE\ConsoleApp1\.sonarqube\out\sonar-project.properties --from=ScannerMSBuild/5.13.1 --debug <sensitive data removed>
  Working directory: D:\dev\NETSETE\ConsoleApp1
  Timeout (ms):-1
  Process id: 1104
Process returned exit code 0
The SonarScanner CLI has finished
10:37:38.024 Post-processing succeeded.

D:\dev\NETSETE\ConsoleApp1>C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\sonar-scanner-4.8.1.3023\bin\sonar-scanner.bat -D"sonar.projectKey=netsete" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000" -D"sonar.login=sqp_4f6bf7afc9ad0c5694de7b464216bd22ae9431bd"
INFO: Scanner configuration file: C:\Users\fauly.coelho\.dotnet\tools\.store\dotnet-sonarscanner\5.13.1\dotnet-sonarscanner\5.13.1\tools\net5.0\any\sonar-scanner-4.8.1.3023\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 4.8.1.3023
INFO: Java 17.0.8 Oracle Corporation (64-bit)
INFO: Windows 10 10.0 amd64
INFO: User cache: C:\Users\fauly.coelho\.sonar\cache
INFO: Analyzing on SonarQube server 9.9.1.69595
INFO: Default locale: "pt_BR", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=88ms
INFO: Server id: 147B411E-AYpBtTVilaLmDHN4FRdY
INFO: User cache: C:\Users\fauly.coelho\.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=62ms
INFO: Load/download plugins (done) | time=167ms
INFO: Process project properties
INFO: Process project properties (done) | time=10ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=2ms
INFO: Project key: netsete
INFO: Base dir: D:\dev\NETSETE\ConsoleApp1
INFO: Working dir: D:\dev\NETSETE\ConsoleApp1\.scannerwork
INFO: Load project settings for component key: 'netsete'
INFO: Load project settings for component key: 'netsete' (done) | time=35ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=61ms
INFO: Load active rules
INFO: Load active rules (done) | time=2269ms
INFO: Load analysis cache
INFO: Load analysis cache (404) | time=17ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=33ms
INFO: Indexing files...
INFO: Project configuration:
INFO: 51 files indexed
INFO: Quality profile for cs: Sonar way
INFO: Quality profile for json: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module netsete
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=50ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=11ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=93ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=19ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=13ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=22ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=6ms
INFO: Sensor XML Sensor [xml]
INFO: 5 source files to be analyzed
INFO: 5/5 source files have been analyzed
INFO: Sensor XML Sensor [xml] (done) | time=365ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 14 source files to be analyzed
INFO: 14/14 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=65ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=7ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=15ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=51ms
INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher, see https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html
INFO: Sensor C# [csharp] (done) | time=2ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
INFO: Sensor C# File Caching Sensor [csharp]
WARN: Incremental PR analysis: Could not determine common base path, cache will not be computed. Consider setting 'sonar.projectBaseDir' property.
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=1ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=13ms
INFO: SCM Publisher is disabled
INFO: CPD Executor Calculating CPD for 0 files
INFO: CPD Executor CPD calculation finished (done) | time=0ms
INFO: Analysis report generated in 68ms, dir size=222.0 kB
INFO: Analysis report compressed in 36ms, zip size=42.1 kB
INFO: Analysis report uploaded in 48ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=netsete
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AYpGqu1v5hk7_Tvt_KzL
INFO: Analysis total time: 6.281 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 7.866s
INFO: Final Memory: 16M/60M
INFO: ------------------------------------------------------------------------

D:\dev\NETSETE\ConsoleApp1>

```

---

<div class="post-metadata">

**Author:** ![faulycoelho](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/faulycoelho/32/49390_2.png) [@faulycoelho](https://community.sonarsource.com/u/faulycoelho)\
**Post date:** [September 20, 2023, 2:23am UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/14 "2023-09-20T02:23:43Z")

</div>

Hi,  
I found the bug and fixed it, waiting for approval:

> <https://github.com/SonarSource/sonar-scanner-msbuild/pull/1692>
>
> Fixes #948 
> In the workflow for windows environment exist a process to append '…^' three times before every single char, this is preventing correct execution.
> After the correction, the dotnet sonarscanner end works well.

---

<div class="post-metadata">

**Author:** ![costin.zaharia](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/costin.zaharia/32/62600_2.png) [@costin.zaharia](https://community.sonarsource.com/u/costin.zaharia)\
**Post date:** [February 6, 2024, 3:21pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/17 "2024-02-06T15:21:42Z")

</div>

I’m closing this thread as the related GitHub PR has been closed.

---

<div class="post-metadata">

**Author:** ![costin.zaharia](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/costin.zaharia/32/62600_2.png) [@costin.zaharia](https://community.sonarsource.com/u/costin.zaharia)\
**Post date:** [February 6, 2024, 3:21pm UTC](https://community.sonarsource.com/t/analysis-end-successfully-but-doesnt-show-the-dashboard/97417/18 "2024-02-06T15:21:45Z")

</div>


