You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run dotnet build, CA2007 is indeed disabled as expected. However, in VS Code, I still see CA2007 warnings. I'm not sure whether this is a bug or I'm just doing something wrong.
The text was updated successfully, but these errors were encountered:
Is there at least a way to disable analyzers pulled in from NuGet?
As it stands, EnableAnalyzersSupport=false seems to disable absolutely everything, including IDE* analyzers. But setting EnableAnalyzersSupport=true is near-unusable due to all the false positives that show up due to OmniSharp not picking up .editorconfig for analyzers from NuGet.
(VS Code 1.44.0 / OmniSharp 1.34.15)
In my top-level
.editorconfig
, I have:And in my ´omnisharp.json`:
When I run
dotnet build
, CA2007 is indeed disabled as expected. However, in VS Code, I still see CA2007 warnings. I'm not sure whether this is a bug or I'm just doing something wrong.The text was updated successfully, but these errors were encountered: