How to ship the stylecop.json and custom.ruleset files with a NuGet package in VS2017
问题 At the moment we are switching from VS2015 to VS2017. One of our upgrade steps is to switch from stylecop to the new Stylecop.Analyzer package. The new Stylecop is using 2 files. The stylecop.json and the Stylecop.ruleset. The target: I want to provide the stylecop files as a custom nuget package. But I dont know how to create the needed .csproj entries. <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> ... <CodeAnalysisRuleSet>packages\My.StyleCop.1.0.0-pre15\RuleSet\My.StyleCop.ruleset<