CA1051 rule violation not detected in some files

38 views Asked by At

I've added editor config to our project and the CA violations are being caught, but in some files CA1051 violation is not showing any error I have even added this in .editorconfig: dotnet_diagnostic.CA1051.severity = error Has anyone faced this strange behavior before? Any idea how I can make it work reliably for all files? This is present in csproj:

<PropertyGroup>
  <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
  <GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
0

There are 0 answers