Your teammate forCode Quality and Code Security
SonarQube empowers all developers to write cleaner and safer code.
Download SonarQube:
https://www.sonarsource.com/products/sonarqube/downloads/
# Installdotnet tool install --global dotnet-sonarscanner# Updatedotnet sonarscanner begin /k:"MySolution Title" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="28fa984a31ff953c90e7f403275dcef25daaf55f"dotnet builddotnet sonarscanner end /d:sonar.login="28fa984a25ff953c90e7f403275dcef25daaf55f"
@echo offset SONARQUBE_LOGINKEY="28fa984a25ff953c90e7f403275dcef25daaf55f"set MSBUILD="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe"::%MSBUILD% MySolution.sln /t:Rebuild /p:Configuration=Release /p:Platform="Mixed Platforms"::exit 0dotnet sonarscanner begin /k:"MySolution Title" /d:sonar.login=%SONARQUBE_LOGINKEY%%MSBUILD% MySolution.sln /t:Rebuild /p:Configuration=Release /p:Platform="Mixed Platforms"dotnet sonarscanner end /d:sonar.login=%SONARQUBE_LOGINKEY%pause
506400cookie-checkSonarCube