Hi, fellow .NET developers,
Following our recent release of the Scanner for .NET version 8, we received quite a bit of feedback from you.
We have taken steps to correct the problems we have seen that were caused by this major change.
We already published version 8.0.1, which addressed a case where the scanner wrongly identified the disk root as the root directory, leading to errors with protected folders.
Today, we published version 8.0.2 which will
- Ignore coverage files that are provided to the scanner, so that we do not analyze them
- Ignore transient projects generated behind the scenes by the build (Azure functions, ef-core bundle…)
- Re-enable the
sonar.exclusions
property so you can fine-tune the analysis and ignore files you do not want us to analyze
We are still working on solving some other issues that arise with the use of sonar sources and sonar tests. These properties are normally not required for the .NET analysis and have, in fact, never really worked. The recent changes have caused them to generate errors in some cases. We would advise against using them and will update the documentation accordingly.
We will be looking at whether or not they serve any purpose when using the new default mode, and we might deprecate them completely in a new major version.
Given the impact we saw of the last major version change, we will publish a pre-release or release candidate before this major change, so we can gather your feedback in a more controlled manner before proceeding.
I want to take the opportunity to sincerely thank all of you who gave us feedback on the change, good or bad, and their willingness to share logs and other information. We are very thankful for the time you took to help us solve the problems, and we hope you will continue helping the community at large!
Denis