Skip to content

Releases: SonarSource/sonar-scanner-msbuild

9.0.2

12 Nov 13:44
5d4c523
Compare
Choose a tag to compare

Hotfix release to address two problems raised in community:

  • Fixed a bug where setting sonar.projectBaseDir on Azure DevOps extension’s extraProperties was not respected.
  • Fixed a bug where the scanner failed during file indexing when a directory could not be accessed.

9.0.1

25 Oct 09:50
f46110d
Compare
Choose a tag to compare

Hotfix release to address wrong sonar.projectBaseDir path detection when running on AzureDevOps on Unix-based systems.

9.0.0

27 Sep 13:43
43dfcbb
Compare
Choose a tag to compare

The following properties are not taken into account when specified in the begin step:

  • sonar.sources
  • sonar.tests

The reason for this is that the scanner automatically populates them, and user-defined values result in an execution error.

Also, when source generated projects don't have valid GUIDs, the severity of the logging message has been reduced from WARN to INFO

8.0.3

13 Sep 08:09
b3dda00
Compare
Choose a tag to compare

We fixed some bugs and removed XML from the analysis:

  • Multi-Language analysis: exclude XML files from the analysis.
  • Bug-fix: do not crash on malformed paths.
  • Bug-fix: make sure server-side exclusions are not overridden

9.0.0-rc

03 Sep 14:26
6afe704
Compare
Choose a tag to compare
9.0.0-rc Pre-release
Pre-release

Disabled support for sonar.sources and sonar.tests.
These properties are automatically populated by the Scanner, and they do not function properly if they are also set by user input.
This became more apparent with the introduction of multi-language analysis.

8.0.2

02 Sep 09:07
Compare
Choose a tag to compare

Hotfix release that addresses some of the issues found in community:

  • Re-enable sonar.exclusions
  • Automatically exclude coverage files
  • Skip projects that are transiently created and destroyed during the build.

8.0.1

21 Aug 10:38
0fb729f
Compare
Choose a tag to compare

Bug fix release which addresses these issues:

  • Fix #2148: Root directory detection: OS root (/ on Unix or C: on Windows) is identified as the project directory
  • Fix #1931: Output directory is used as a fallback when the base directory cannot be identified
  • Improvement #2152: Log server version in the begin step, to ease investigations
  • Improvement #2156: Better messages for Multi-file analysis

8.0.0

12 Aug 09:19
cadcd69
Compare
Choose a tag to compare
  • The scanner is now supporting multi-language analysis. This means that it automatically picks up all the files for the following languages:
    • T-SQL
    • PL/SQL
    • YAML
    • XML
    • JSON
    • CSS
    • HTML
    • Javascript
    • Typescript

If this is not desired, it can be turned off by providing /d:sonar.scanner.scanAll=false on the begin step.

  • The JRE provisioning is disabled if the targeted SonarQube instance version is less than 10.6

7.1.1

24 Jul 15:40
a5ef447
Compare
Choose a tag to compare

Patch release for the wrong file path problem in the release zip files.

Fixes

#2104 Releases produce zip files with a backslash as a separator (#2087)
#2107 Add Reference to fix the version of Microsoft.IO.Redist (addresses CVE-2024-38081)

7.1.0

19 Jul 09:07
f278d0c
Compare
Choose a tag to compare

What's new

  • Changed an internal URL that is responsible for Incremental PR Analysis on SonarCloud
  • Fixed a small issue when not specifying sonar.host.url (defaults to https://sonarcloud.io)