SonarLint not reporting issues at build time


I’m using SonarLint for Visual Studio 2017 v4.21.0.16909, within Visual Studio 2017 Professional on Windows 7.

I’ve created a Windows Forms .NET Framework C# application and SonarLint is successfully reporting issues for open files.

I have ‘Enable Code Analysis on Build’ selected on the project properties, but when I build, the issues aren’t reported by SonarLint. I’ve confirmed the selected rule set contains the SonarAnalyzer.CSharp rules:



This is using SonarLint in non-connected mode but the issue also occurs in connected mode.

Is it possible for SonarLint to report issues at build time?

Many thanks.

It looks like you also need the NuGet package to see issues at build time.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.