Does sonarlint for visual studio 2017 support .net core projects on fly in IDE?

visualstudio
sonarlint

(Abhishek Maddu) #1

Hi Team,
I have recently installed vs2017 and sonarlint for vs 2017. When im trying to analyze my source code via sonarlint it is showing nothing in the code analysis section at all. I am assuming sonarlint is unable to recognize .net core projects but this page @ https://blog.sonarsource.com/supporting-analysis-of-net-core-projects is stating that it can analyze even core.

Please help.

Thanks,
ADPM


(Amaury Levé) #2

Hi,

This is quite likely that your instance of VS2017 has the enable full solution analysis feature turned off. See https://docs.microsoft.com/fr-fr/visualstudio/code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code?WT.mc_id

When the option is off, only opened files are analyzed. If the option is on, then all files will be analyzed.

Cheers,
Amaury