7

Steps to replicate on VS 2017 Enterprise:

  • Create new .Net Core solution with a Console App project
  • Add the following NuGet package:
    • Microsoft.CodeAnalysis.FxCopAnalyzers v2.3.0-beta1
  • Run code analysis with the Error List filtered to "Build Only"
  • You should see a CA1801 warnings for the unused "args" parameter of the Main method
  • Right click on this in the errors list.

No "suppress" option is available.

Does anyone have any idea why the suppress warning isn't there?

John Darvill
  • 1,274
  • 11
  • 17

0 Answers0