- Github with CircleCI to run analysis for SonarCloud.
- Currently using SonarScanner for MSBuild 5.12
We’re trying to understand how - from the repository itself - can we disable automatic analysis that is on-by-default in sonarcloud with a .NET project. For Java projects we can just have a sonar-project.properties file in the base directory of the repository. Is there a similar method for the MSBuild scanner to disable automatic analysis?
The information at Automatic Analysis | SonarCloud Docs doesn’t seem to match up with SonarScanner for .NET | SonarCloud Docs to disable automatic analysis. When we add the file and try to analyze, we get error:
SonarScanner for MSBuild 5.12
Using the .NET Core version of the Scanner for MSBuild
03:50:44.998 sonar-project.properties files are not understood by the SonarScanner for MSBuild. Remove those files from the following folders: /root/project
03:50:44.998 Post-processing failed. Exit code: 1
Exited with code exit status 1
CircleCI received exit code 1