Hi SonarSource team, thanks for the great work for the SonarScanner for .NET plugin firstly.
I am working on the way to use sonar-scanner for c# and vc++ projects at same time.
The formal pattern is not work as I expected, it only support .net/c# projects.
dotnet-sonarscanner begin ...
dotnet build|test ...
dotnet-sonarscanner end ...
Now, I found a workaround: just use dotnet-sonarscanner begin ...
, and not use dotnet-sonarscanner end. ..
, so I can get the Sonar Roslyn Analyzer result files under the folder .sonarqube/out/xxx
.
and I have to write my own sonar-project.properties with the analysis parameters sonar.cs.analyzer.projectOutPaths
and sonar.cs.roslyn.reportFilePaths
But, I find these 2 parameters don’t support wildcards like: .sonarqube/out/*
, .sonarqube/out/**/Issues.json
, obviously I want to let the content simple and no update efforts any more.
I know this is a kind of ‘hacky’ to bypass the formal usage, but this way solve my requirements ~