Code analysis only shows CSxxx and IDExxx notes I see no CAxxx messages

135 Views Asked by At

How do I get code analysis to show me IDisposables not disposed. It doesn't seem like any of the CAxxx rules are used. I tried adding the nuget package Microsoft.CodeAnalysis.NetAnalyzers, that doesn't seem to make a difference. Then I added Microsoft Analysis Services Projects extension (vsix), and nothing.

I build the solution, I clicked Analyze -> Run Code Analysis -> On Solution etc.

It's a non-SDK referencing project, I tried to edit the .csproj file to reference the sdk, but just had a lot of issues so that I gave up on that idea.

I know there are some IDisposable's that are not disposed but I don't get any warnings about that.

0

There are 0 best solutions below