Not logged in - Login

Warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset

Receive the following warning when building a project with Visual Studio 2017:

warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset"

Solution is here: https://stackoverflow.com/questions/33637211/vs2015-warning-msb3884-could-not-find-rule-set-file

However, the path is different for VS2107.
Correct path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets

Full Instructions:
  • Open project properties
  • Select Code Analysis tab (on left)
  • In the combo box for 'Run this rule set', select 'Browse'.
  • Browse to the folder "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets"
  • Select a rule set