Getting CA0064 (No analysis was performed)

Gertting the following errorn when Analyzing with SonarLint in Visual Studio:

|Warning|CA0064 : No analysis was performed because the specified rule set could not be loaded or did not contain any managed code analysis rules.

For some projects I’m not getting CA0064 warning but the sonar rules are not applied.
when I go to a specific code page then it is showing me warnings of that particular page, but not when I do analyze the project.

Facing same issue. Is there any Fix for this ?

The following thread looks to be same issue: CA0064 : No analysis was performed