Default Analyzers When Creating New Project

  • Thread starter Thread starter JSChicago
  • Start date Start date
J

JSChicago

Guest
Hello,

I searched the forums, but could not find an answer to this question:

When I create a new project (say a .Net Framework console application) the Solution Explorer shows an "Analyzers" node under "References". I can right-click the Analyzers node and select "Open Active Rule Set" to view what I imagine are the "Microsoft Managed Recommended Rules", I say this because I can get to the same view by going to Project Properties, selecting the Code Analysis tab and then clicking "Configure" that appears next to the "Active rules" drop down that displays that same rule set name.

My question is, what is the relationship of that Analyzer node and those rules to my project? They are not installed as packages because when I install analyzers as packages I can expand the Analyzer node to display the rules. Are these default analyzers only associated with the IDE and if so, why does that Analyzer node appear beneath "References"? Why not just use the Project Properties dialog to navigate to the rule set?

Thanks!

Continue reading...
 
Back
Top