Skip to content

Commit 1a79f4a

Browse files
committed
Put back code analysis rules
1 parent 1ad197d commit 1a79f4a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PoshCode.PoshConsole/PoshCode.PoshConsole.csproj

+5-4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<ErrorReport>prompt</ErrorReport>
3535
<WarningLevel>4</WarningLevel>
3636
<PlatformTarget>AnyCPU</PlatformTarget>
37+
<CodeAnalysisRuleSet>..\PoshCodeRules.ruleset</CodeAnalysisRuleSet>
3738
</PropertyGroup>
3839
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
3940
<DebugSymbols>true</DebugSymbols>
@@ -42,7 +43,7 @@
4243
<DebugType>full</DebugType>
4344
<PlatformTarget>x64</PlatformTarget>
4445
<ErrorReport>prompt</ErrorReport>
45-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
46+
<CodeAnalysisRuleSet>..\PoshCodeRules.ruleset</CodeAnalysisRuleSet>
4647
</PropertyGroup>
4748
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
4849
<OutputPath>bin\$(Configuration)</OutputPath>
@@ -51,7 +52,7 @@
5152
<DebugType>pdbonly</DebugType>
5253
<PlatformTarget>x64</PlatformTarget>
5354
<ErrorReport>prompt</ErrorReport>
54-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
55+
<CodeAnalysisRuleSet>..\PoshCodeRules.ruleset</CodeAnalysisRuleSet>
5556
</PropertyGroup>
5657
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
5758
<DebugSymbols>true</DebugSymbols>
@@ -60,7 +61,7 @@
6061
<DebugType>full</DebugType>
6162
<PlatformTarget>x86</PlatformTarget>
6263
<ErrorReport>prompt</ErrorReport>
63-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
64+
<CodeAnalysisRuleSet>..\PoshCodeRules.ruleset</CodeAnalysisRuleSet>
6465
</PropertyGroup>
6566
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
6667
<OutputPath>bin\$(Configuration)</OutputPath>
@@ -69,7 +70,7 @@
6970
<DebugType>pdbonly</DebugType>
7071
<PlatformTarget>x86</PlatformTarget>
7172
<ErrorReport>prompt</ErrorReport>
72-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
73+
<CodeAnalysisRuleSet>..\PoshCodeRules.ruleset</CodeAnalysisRuleSet>
7374
</PropertyGroup>
7475
<ItemGroup>
7576
<Reference Include="System" />

0 commit comments

Comments
 (0)