title: How do I specify a custom code analysis ruleset for multiple projects in a solution using Visual Studio 2019?
body: <p>I've got a custom code analysis ruleset that I want to apply to all configurations of multiple projects in my solution but can't see how I can do it.</p>
  
  <p>To be clear, I'm looking for a way (if any) of doing this in a single step rather then editing the properties of each project from the IDE.</p>
  
  <p>I found this guidance so far: <a href="https://docs.microsoft.com/en-us/visualstudio/code-quality/how-to-configure-code-analysis-for-a-managed-code-project?view=vs-2019#specify-rule-sets-for-multiple-projects-in-a-solution" rel="noreferrer">https://docs.microsoft.com/en-us/visualstudio/code-quality/how-to-configure-code-analysis-for-a-managed-code-project?view=vs-2019#specify-rule-sets-for-multiple-projects-in-a-solution</a></p>
  
  <p>But it doesn't seem to be correct. In Visual Studio 2019, if I go to Analyze > Configure Code Analysis > For Solution I get a blank property page with the message:</p>
  
  <p><em>NOTE: This property page has been deprecated and will be removed in a future product release.</em></p>
  
  <p>Is there another way I can do this? I have lots of projects :(</p>
  
  <p>Thanks.</p>