Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 975357b

Browse files
Changing project files to link to codeanalysis-small.ruleset
1 parent ca56968 commit 975357b

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

src/GitHub.Api/GitHub.Api.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
<DefineConstants>DEBUG;TRACE</DefineConstants>
2727
<ErrorReport>prompt</ErrorReport>
2828
<WarningLevel>4</WarningLevel>
29-
<RunCodeAnalysis>false</RunCodeAnalysis>
30-
<CodeAnalysisRuleSet>..\..\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
29+
<RunCodeAnalysis>true</RunCodeAnalysis>
30+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
3131
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
3232
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
3333
</PropertyGroup>
@@ -37,8 +37,8 @@
3737
<DefineConstants>TRACE</DefineConstants>
3838
<ErrorReport>prompt</ErrorReport>
3939
<WarningLevel>4</WarningLevel>
40-
<RunCodeAnalysis>false</RunCodeAnalysis>
41-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
40+
<RunCodeAnalysis>true</RunCodeAnalysis>
41+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
4242
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
4343
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4444
<BuildConfid>Release</BuildConfid>
@@ -50,8 +50,8 @@
5050
<DefineConstants>TRACE;DEBUG;DEVELOPER_BUILD</DefineConstants>
5151
<ErrorReport>prompt</ErrorReport>
5252
<WarningLevel>4</WarningLevel>
53-
<RunCodeAnalysis>false</RunCodeAnalysis>
54-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
53+
<RunCodeAnalysis>true</RunCodeAnalysis>
54+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
5555
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
5656
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
5757
</PropertyGroup>

src/GitHub.Logging/GitHub.Logging.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24+
<RunCodeAnalysis>true</RunCodeAnalysis>
25+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
2426
</PropertyGroup>
2527
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2628
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -30,6 +32,8 @@
3032
<DefineConstants>TRACE</DefineConstants>
3133
<ErrorReport>prompt</ErrorReport>
3234
<WarningLevel>4</WarningLevel>
35+
<RunCodeAnalysis>true</RunCodeAnalysis>
36+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
3337
<BuildConfid>Release</BuildConfid>
3438
</PropertyGroup>
3539
<PropertyGroup>
@@ -44,6 +48,8 @@
4448
<DefineConstants>DEBUG;TRACE;DEVELOPER_BUILD</DefineConstants>
4549
<ErrorReport>prompt</ErrorReport>
4650
<WarningLevel>4</WarningLevel>
51+
<RunCodeAnalysis>true</RunCodeAnalysis>
52+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
4753
</PropertyGroup>
4854
<PropertyGroup>
4955
<BuildConfig Condition=" '$(BuildConfig)' == '' ">Debug</BuildConfig>

src/UnityExtension/Assets/Editor/GitHub.Unity/GitHub.Unity.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<DefineConstants>DEBUG;TRACE</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
2424
<WarningLevel>4</WarningLevel>
25-
<RunCodeAnalysis>false</RunCodeAnalysis>
26-
<CodeAnalysisRuleSet>..\..\..\..\..\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
25+
<RunCodeAnalysis>true</RunCodeAnalysis>
26+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
2727
<LangVersion>4</LangVersion>
2828
</PropertyGroup>
2929
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -32,6 +32,8 @@
3232
<DefineConstants>TRACE</DefineConstants>
3333
<ErrorReport>prompt</ErrorReport>
3434
<WarningLevel>4</WarningLevel>
35+
<RunCodeAnalysis>true</RunCodeAnalysis>
36+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
3537
<BuildConfid>Release</BuildConfid>
3638
</PropertyGroup>
3739
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'dev|AnyCPU'">
@@ -41,8 +43,8 @@
4143
<DefineConstants>DEBUG;TRACE;DEVELOPER_BUILD</DefineConstants>
4244
<ErrorReport>prompt</ErrorReport>
4345
<WarningLevel>4</WarningLevel>
44-
<RunCodeAnalysis>false</RunCodeAnalysis>
45-
<CodeAnalysisRuleSet>$(SolutionDir)common\GitHub.ruleset</CodeAnalysisRuleSet>
46+
<RunCodeAnalysis>true</RunCodeAnalysis>
47+
<CodeAnalysisRuleSet>$(SolutionDir)\common\codeanalysis-small.ruleset</CodeAnalysisRuleSet>
4648
<LangVersion>4</LangVersion>
4749
</PropertyGroup>
4850
<ItemGroup>

0 commit comments

Comments
 (0)