From 337c3b0cbe22bfb6a1ce111c65e62d496480f717 Mon Sep 17 00:00:00 2001 From: cynthiabethea <108268296+cynthiabethea@users.noreply.github.com> Date: Tue, 4 Oct 2022 17:19:59 +0100 Subject: [PATCH] DOC-111 Fix typos on dotnet scanner page (#6765) --- .../pages/analysis/scan/sonarscanner-for-msbuild.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-msbuild.md b/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-msbuild.md index 35372bb5966..07a85844d9e 100644 --- a/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-msbuild.md +++ b/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-msbuild.md @@ -23,7 +23,7 @@ title: SonarScanner for .NET [[info]] | Since version 5.0, the SonarScanner for MSBuild is now the SonarScanner for .NET. -| documentation is updated with that new name, artifacts and links will remain with the old name for now. +| The documentation is updated with that new name, artifacts and links will remain with the old name for now. The SonarScanner for .NET is the recommended way to launch an analysis for projects/solutions using MSBuild or dotnet command as a build tool. It is the result of a [collaboration between SonarSource and Microsoft](https://www.sonarqube.org/announcing-sonarqube-integration-with-msbuild-and-team-build/). @@ -61,7 +61,7 @@ It supports .Net Core on every platform (Windows, macOS, Linux). * On Linux/OSX you may need to set execute permissions on the files in `$install_directory/sonar-scanner-(version)/bin`. * Uncomment, and update the global settings to point to your SonarQube serverSonarCloud by editing `$install_directory/SonarQube.Analysis.xml`. Values set in this file will be applied to all analyses of all projects unless overwritten locally. -Consider setting file system permissions to restrict access to this file.: +Consider setting file system permissions to restrict access to this file. ```xml @@ -78,9 +78,9 @@ Consider setting file system permissions to restrict access to this file.: dotnet tool install --global dotnet-sonarscanner --version x.x.x ``` -The _--version_ argument is optional. If it is omitted the latest version will be installed. Full list of releases is available on the [NuGet page](https://www.nuget.org/packages/dotnet-sonarscanner) +The _--version_ argument is optional. If it is omitted the latest version will be installed. The full list of releases is available on the [NuGet page](https://www.nuget.org/packages/dotnet-sonarscanner). -.NET Core Global Tool is available from .NET Core 2.1+ +.NET Core Global Tool is available from .NET Core 2.1+. ### On Linux/OSX, if your SonarQube server is secured @@ -102,9 +102,9 @@ There are two versions of the SonarScanner for .NET. In the following commands, The first version is based on the "classic" .NET Framework. To use it, execute the following commands from the root folder of your project: ``` -SonarScanner.MSBuild.exe begin /k:"project-key" /o:"" /d:sonar.login="" +SonarScanner.MSBuild.exe begin /k:"project-key" /o:"" /d:sonar.login="myAuthenticationToken" MSBuild.exe /t:Rebuild -SonarScanner.MSBuild.exe end /d:sonar.login="" +SonarScanner.MSBuild.exe end /d:sonar.login="myAuthenticationToken" ``` Note: On macOS or Linux, you can also use `mono `. -- 2.39.5