Hi everyone!
This major release of the Scanner for .NET drops support for .NET Core 2.1 and 3.0, .NET Framework 4.6, Java 11, and SonarQube < 8.9.
It simplifies packaging: now two packages are made available, instead of 4:
sonar-scanner-*-net
, based on .NET Core 3.1, for .NET Core and .NET 5 and abovesonar-scanner-*-net-framework
, based on .NET Framework 4.6.2, for .NET Framework 4.6.2 and above
We also changed the way automatic code coverage detection works on Azure DevOps Extensions. We no longer depend on CodeCoverage.exe
being present on the build machine.
For the complete list of breaking changes check the list below.
Improvements
- #1768 - Drop support for .Net core 2.1
- #1771 - Do not generate the net 5 artifacts
- #1738 - Upgrade net46 to net462
- #1770 - Rename the sonar-scanner-msbuild-*-netcoreapp3.0.zip to sonar-scanner-*-net.zip
- #1769 - Rename the sonar-scanner-msbuild-*-net46 packages to sonar-scanner-*-net-framework.zip
- #1721 - Make
begin
/end
phase mandatory on command line - #1475 - Fail hard when C# and VB.NET plugins are missing on the server
- #1425 - Fail hard for SonarQube version below 8.9
- #1805 - Improve the global tool description message
- #1759 - Ensure that the assemblies from the zip files we publish on GitHub are signed
- #1651 - Update sonar-scanner-cli to 5.0.1.3006
- #1421 - Remove wrong UserAgent header
- #1737 - Code coverage: use nuget package