All the .cs files are generating issue exclusions due to which code coverage was very less i.e 0.5%
We have tried implementing sonar through VSO build task in “manually provide configuration” mode and also in “Integreate in MSbuild” mode. In both the cases the .cs files are not scanned and my code coverage is very less.
In addition to that,We have sonar tasks installed and enabled for build definition. what we are seeing is that the quality profiles are being stopped for one build run and it is again started using the quality profiles for the next run automatically. We are consistently seeing the same behavior for the alternate build runs.