Skip to content

Releases: SonarSource/sonar-scanner-msbuild

5.5.0

07 Feb 13:47
17ce710
Compare
Choose a tag to compare

Hello everyone,
With this release, we added support for .NET 6 projects, TLS 1.3 to the supported TLS versions, and fixed some bugs.

Improvements

  • 1096 - Add TLS 1.3 to the supported TLS versions.

Bug Fixes

  • 1139 - Fix when analysis fails with System.NotSupportedException in case of having an invalid absolute path (e.g., a website) in the project solution.
  • 1125 - Analysis succeeds with Razor files in .NET 6.
  • 1123 - Fix race condition issue during analysis for Razor builds.
  • 1116 - Fix metrics or issue import for a ASP .NET 6 MVC projects.

5.4.1

23 Dec 09:28
28aff13
Compare
Choose a tag to compare

Improvements

  • 1133 - Update Newtonsoft.Json to latest

5.4.0

25 Nov 14:54
c2cc391
Compare
Choose a tag to compare

Improvements

  • 1095 - Ensure Scanner runs with .NET 6 SDK

5.3.2

27 Oct 09:14
727077e
Compare
Choose a tag to compare

Improvements

  • 1087 - Certificate Parameter Processing

5.3.1

16 Sep 06:46
30d7d7a
Compare
Choose a tag to compare

Bug Fixes

  • 1069 - 5.3.0 removes msbuild targets, but leaves projects configured to use sonarqube analysis

Changes in 5.3.0:

Improvements

  • 1066 - Update scanner-cli to 4.6.2.2472
  • 1060 - Compile with .NET Core 2.1 and 3.1
  • 1037 - Output FilesToAnalyze.txt as utf-8
  • 1036 - Add IT for reading Razor results
  • 1020 - Move Sarif reports to out directory
  • 964 - Improve uninstall of targets if multiple builds in the same pipeline

Bug Fixes

  • 1041 - Fix RunAnalyzer override for .NET SDK 5+
  • 1040 - Metadata files overwritten for ASP .NET 5 MVC project - no metrics (LOCs) and no highlighting for the C# code
  • 1039 - Fix bug in WS error handling: ArgumentNullException
  • 1019 - Remove duplicated properties from sonar-project.properties
  • 1015 - Targets file doesn't pick up explicit ErrorLog value
  • 892 - Fix "project is a temporary project and will be excluded" message never displayed

5.3.0

31 Aug 13:39
13d4f5f
Compare
Choose a tag to compare

Improvements

  • 1066 - Update scanner-cli to 4.6.2.2472
  • 1060 - Compile with .NET Core 2.1 and 3.1
  • 1037 - Output FilesToAnalyze.txt as utf-8
  • 1036 - Add IT for reading Razor results
  • 1020 - Move Sarif reports to out directory
  • 964 - Improve uninstall of targets if multiple builds in the same pipeline

Bug Fixes

  • 1041 - Fix RunAnalyzer override for .NET SDK 5+
  • 1040 - Metadata files overwritten for ASP .NET 5 MVC project - no metrics (LOCs) and no highlighting for the C# code
  • 1039 - Fix bug in WS error handling: ArgumentNullException
  • 1019 - Remove duplicated properties from sonar-project.properties
  • 1015 - Targets file doesn't pick up explicit ErrorLog value
  • 892 - Fix "project is a temporary project and will be excluded" message never displayed

5.2.2

08 Jul 05:47
92a3ef1
Compare
Choose a tag to compare

Improvements

  • 1025 - Fix assembly name parsing in IsTestByReference (#1004)
  • 1014 - mTLS with ClientCert Password

5.2.1

29 Apr 12:52
Compare
Choose a tag to compare

Improvements

  • 1011 - Update embedded SonarScanner CLI

5.2.0

08 Apr 11:20
Compare
Choose a tag to compare

New Rules

  • 980 - Analyze Test code

Improvements

  • 966 - Use assembly references to detect Test projects
  • 965 - Add deprecation notices

Bug Fixes

  • 829 - Scanner should override RunAnalyzers/RunAnalyzersDuringBuild properties

5.1.0

08 Mar 07:35
Compare
Choose a tag to compare

Improvements

  • 959 - Pass configuration to analyzers
  • 958 - Update Wiki about test project detection
  • 955 - Don't inspect project name in test project detection by default
  • 954 - Add clarification message to test project detection

Bug Fixes

  • 949 - Missing Sarif report for Razor Views for .NET Core 3.1 and .NET 5 SDK
  • 930 - Fail fast when there's multiple profiles for a language
  • 891 - Do not fetch over the 10000th result while searching
  • 843 - SonarQube.Integration.ImportBefore.targets removal by TargetsUninstaller causes issues with Concurrent Analysis