No code smell detected in Rider

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version:
  • Programming language you’re coding in: C#
  • Is connected mode used: The bug happen in Sonarlint both in connected and unconnected mode. When in connected mode, the code smells are detected on sonarcloud but never in sonarlint.

And a thorough description of the problem / question:

In all our C# with .NET Core projects, the code smells are not detected. When we commit our code, it says there are no problems but as soon as it’s scanned by the CI and the report is sent to Sonarcloud, we discover that there are code smells in our code which is pretty frustrating :slight_smile:

I did some digging in the forum a found similar issues but nothing that could help me fix my problem.

I created a brand new console application with simple code that creates a code smell. This project is not connected to Sonarcloud and I have the same problem: No code smell is detected.

I have the latest version from Rider and latest version from the plugin. Any help would be appreciated!


Hi Jean-François,

May I ask you to share your simple code snipped that had code smell but was not visible on SonarLint. Could you also share the issue rule key?
Also could you provide debug logs with the help of Troubleshooting · SonarSource/sonarlint-intellij Wiki · GitHub
enabling verbose output + analysis logs
reopening the solution and triggering one analysis

Thank you