title: How to create nuget package with Stylecop Analyzer and custom ruleset?
body: <p>I need to create a nuget package package with stylecop.json and something.ruleset with referencing to stylecop analyzer.
  This package will be used across all the teams to standardize the rules for .net.
  I have read this: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/48870718/how-to-ship-the-stylecop-json-and-custom-ruleset-files-with-a-nuget-package-in-v">How to ship the stylecop.json and custom.ruleset files with a NuGet package in VS2017</a></li>
  <li><a href="https://ngeor.com/2018/03/03/how-to-use-stylecop-analyzers.html" rel="nofollow noreferrer">https://ngeor.com/2018/03/03/how-to-use-stylecop-analyzers.html</a> </li>
  </ul>
  
  <p>But unfortunately I did not properly understand how to achieve this. I have stylecop.json and .ruleset file. I have done the following steps:</p>
  
  <ul>
  <li>Added nuget package for Stylecop Analyzers</li>
  <li>Added the stylecop.json file to the solution</li>
  <li>Added the .ruleset file to the solution</li>
  <li>Added a nuspec file to the solution</li>
  </ul>
  
  <p>May I please know what need to be done now to create the nuget package including the stylecop.json and .ruleset file?</p>
  
  <p><a href="https://i.stack.imgur.com/sPS7V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sPS7V.png" alt="enter image description here"></a></p>