diff options
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj | 1 | ||||
-rw-r--r-- | win/CS/HandBrake.ruleset | 21 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/HandBrakeWPF.csproj | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj index 636663704..70c3a9d51 100644 --- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj +++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj @@ -37,6 +37,7 @@ <DefineConstants>TRACE;DEBUG</DefineConstants>
<UseVSHostingProcess>true</UseVSHostingProcess>
<Prefer32Bit>false</Prefer32Bit>
+ <CodeAnalysisRuleSet>..\HandBrake.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>AnyCPU</PlatformTarget>
diff --git a/win/CS/HandBrake.ruleset b/win/CS/HandBrake.ruleset new file mode 100644 index 000000000..c614992c0 --- /dev/null +++ b/win/CS/HandBrake.ruleset @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<RuleSet Name="HandBrake" ToolsVersion="14.0"> + <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers"> + <Rule Id="SA1116" Action="None" /> + <Rule Id="SA1124" Action="None" /> + <Rule Id="SA1413" Action="None" /> + <Rule Id="SA1623" Action="None" /> + <Rule Id="SA1028" Action="None" /> + <Rule Id="SA1513" Action="None" /> + <Rule Id="SA1101" Action="None" /> + <Rule Id="SA1503" Action="None" /> + <Rule Id="SA1501" Action="None" /> + <Rule Id="SA1117" Action="None" /> + <Rule Id="SA1119" Action="None" /> + <Rule Id="SA1512" Action="None" /> + <Rule Id="SA1515" Action="None" /> + <Rule Id="SA1516" Action="None" /> + <Rule Id="SA1300" Action="None" /> + <Rule Id="SA1307" Action="None" /> + </Rules> +</RuleSet>
\ No newline at end of file diff --git a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj index 99f07ea19..e28bec1dd 100644 --- a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj +++ b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj @@ -65,7 +65,7 @@ <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
<UseVSHostingProcess>true</UseVSHostingProcess>
<Prefer32Bit>false</Prefer32Bit>
- <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRuleSet>..\HandBrake.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
|