Unable to run sonarcfamily and cshap together

Hi,

I’m using SQ 7.7 developer version and Azure Devops Server, I’m trying to get my analysis to also include csharp as well as C++ which it is currently doing correctly. Following:

Suggests that all I need to do is change my Prepare Analysis step from use standalone scanner to Integrate with MSBuild and the rest should work as the set up is the same for C++ and csharp.

I have done this however now my Run Code Analysis Step reports:
2019-06-25T16:11:48.8664887Z ##[error]ERROR: Error during SonarQube Scanner execution
2019-06-25T16:11:48.8664887Z ERROR: Error during SonarQube Scanner execution
2019-06-25T16:11:48.8664887Z ##[error]ERROR: File <> can’t be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files
2019-06-25T16:11:48.8664887Z ERROR: File <> can’t be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files

Has anyone else come across this issue ?

Thanks,
Tom

Hi @tjnashq,

could you please share the full logs? If you cannot do it publicly let me know and I will send you a PM where you can share files privately.