The Free Software Media System - Server Backend & API
Move ruleset up one directory so it can be shared by all test projects
Mark Monteiro8322d412f07d
diff --git a/MediaBrowser.sln b/MediaBrowser.slnindex 05d13816b1..18e578fb66 100644--- a/MediaBrowser.sln+++ b/MediaBrowser.sln@@ -49,6 +49,9 @@ EndProjectProject("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Jellyfin.Api", "Jellyfin.Api\Jellyfin.Api.csproj", "{DFBEFB4C-DA19-4143-98B7-27320C7F7163}"EndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{FBBB5129-006E-4AD7-BAD5-8B7CA1D10ED6}"+ ProjectSection(SolutionItems) = preProject+ tests\jellyfin-tests.ruleset = tests\jellyfin-tests.ruleset+ EndProjectSectionEndProjectProject("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Jellyfin.Common.Tests", "tests\Jellyfin.Common.Tests\Jellyfin.Common.Tests.csproj", "{DF194677-DFD3-42AF-9F75-D44D5A416478}"EndProjectdiff --git a/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.csproj b/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.csprojindex 8ae110c32c..f30e486900 100644--- a/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.csproj+++ b/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.csproj@@ -27,7 +27,7 @@</ItemGroup><PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">- <CodeAnalysisRuleSet>MediaBrowser.Api.Tests.ruleset</CodeAnalysisRuleSet>+ <CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet></PropertyGroup></Project>diff --git a/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.ruleset b/tests/jellyfin-tests.rulesetsimilarity index 94%rename from tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.rulesetrename to tests/jellyfin-tests.rulesetindex 5cf77ac4c3..5a113e955e 100644--- a/tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.ruleset+++ b/tests/jellyfin-tests.ruleset@@ -2,7 +2,7 @@<RuleSet Name="Rules for MediaBrowser.Api.Tests" Description="Code analysis rules for MediaBrowser.Api.Tests.csproj" ToolsVersion="14.0"><!-- Include the solution default RuleSet. The rules in this file will override the defaults. -->- <Include Path="../../jellyfin.ruleset" Action="Default" />+ <Include Path="../jellyfin.ruleset" Action="Default" /><!-- StyleCop Analyzer Rules --><Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">