Steps are as follows:
Select an item == "Right Properties ==" code analysis (choose Microsoft's all the rules)
Note: The default is hosting Proposed Rule
Note: CA1804 CA1811 rules
For example, you need to see a project function method has never been used are as follows:
Select an item == "right to run code analysis
Operation details are as follows: