I have a build with C++ Code and .NET Core code in it.
This is all working, and connecting to SonarQube as expected.
My question is, is it necessary that I perform a full clean build every time i run the analysis? I know that Sonar connects to the MSBuild process and analyses code while it is being compiled. If a given source file or project does not need to be rebuild, does SonarQube still remember that there’s an issue in that code?
Thing is that the build-wrapper you are using to wrap your build in order to analyze your C++ code does not support incremental build.
So, in short, yes, it is necessary to perform a full clean build every time.