Analysis on master branch fails

Hello,

We are facing an issue where the feature branch we created from master is passing the Sonar analysis. But the master branch analysis fails with code smells from old code when the feature branch is merged with master. The only change in the environment is that we are running on .net 6 framework. There are no changes in the Sonarqube quality profiles.

Environment:
Azure DevOps
Sonar Scanner MSBUILD 5.6
Azure DevOps extension 4.29.1
Sonarqube enterprise version: 7.9.2
C# plugin version: 7.15

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.2 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.