SONARQUBE 9.9.7: C# Windows Form: Parse only one .CS file

Team, Have a Great Morning!

I am from Brazil!

A Question about SONARQUBE 9.9.7: Is there a solution in C# Windows Forms. But I just want to analyze a separate file, separately (.CS).

Reason: Legacy Project is very large. That’s why I only need to analyze one .CS

How should I proceed?

+Thankful!

Hey there.

You’ll need to be able to build your project since a build is necessary to analyze .NET code with SonarQube.

You can always adjust the analysis scope, but you’ll still need a full build of your project sandwiched by the SonarScanner for .NET.

1 Like