title: Question on Microsoft.CodeAnalysis.NetAnalyzers and FxCop analyzers
body: <p>in my .net project(Target Framework 4.7), in code analysis tab, I see <strong>Run on build</strong> was checked.  so am able to see some FxCop warnings.  but when I checked  nuGet packages, I see that Microsoft.CodeAnalysis.FxCopAnalyzers is not installed.  so my first question is when FxCopAnalyzers nuget package is not installed, how are the warnings showing up?</p>
  <p>Moving now, when I upgraded to VS2019, I get below error</p>
  <pre><code>Warning CA0507 Post-build Code Analysis (FxCopCmd.exe) has been deprecated in favor of FxCop analyzers
  </code></pre>
  <p>so I googled and found that FxCopAnalyzers are no longer supported and are replaced with Microsoft.CodeAnalysis.NetAnalyzers.</p>
  <p>I did the steps mentioned here <a href="https://github.com/dotnet/roslyn-analyzers" rel="nofollow noreferrer">https://github.com/dotnet/roslyn-analyzers</a></p>
  <ol>
  <li><p>installed the package</p>
  </li>
  <li><p>did this to the project file by editing it in notepad.</p>
  <p><a href="https://i.stack.imgur.com/cFt8c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cFt8c.png" alt="enter image description here" /></a></p>
  </li>
  </ol>
  <p>the Warning CA050 is gone now, but I don't get any warnings that was coming before.  I was expecting Microsoft.CodeAnalysis.NetAnalyzers to generate the same set of warning that was coming before(even thouugh i dont know how it was coming).  What am I missing?  am not sure if Microsoft.CodeAnalysis.NetAnalyzers is even doing its job.</p>
  <p>Thanks in Advance.</p>