Can we use SonarQube without building the project?

Hi All, My project is a legacy one which we can’t build/create a solution. Sonar Scanner is expecting to build the application to analyse code. Is it possible to scan the code and get the report without building the application?

I have been using static analysis with the help of SonarLint which is working fine in IDE, But the expectation is to use SonarQube and SonarScanner without building project.

Thanks in advance

Hey there.

What languages are you trying to analyze?

For compiled languages – there’s no way out of it. Java, C#, and C/C++ require a bulid.

As a developer, how do you work on a project if you can’t build it?