Skip to content

Commit d5e9f46

Browse files
author
Petr Sramek
committed
added code analysis properties and Ispackagable properties to csproj files
1 parent b79f721 commit d5e9f46

File tree

6 files changed

+39
-0
lines changed

6 files changed

+39
-0
lines changed

benchmarks/PolylineAlgorithm.Benchmarks/PolylineAlgorithm.Benchmarks.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@
99
<InvariantGlobalization>true</InvariantGlobalization>
1010
</PropertyGroup>
1111

12+
<PropertyGroup>
13+
<IsPackable>false</IsPackable>
14+
</PropertyGroup>
15+
16+
<PropertyGroup>
17+
<AnalysisMode>All</AnalysisMode>
18+
<AnalysisLevel>latest</AnalysisLevel>
19+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
20+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
21+
</PropertyGroup>
22+
1223
<ItemGroup>
1324
<PackageReference Include="BenchmarkDotNet" Version="0.*" />
1425
</ItemGroup>

benchmarks/PolylineAlgorithm.Implementation.Benchmarks/PolylineAlgorithm.Implementation.Benchmarks.csproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
<InvariantGlobalization>true</InvariantGlobalization>
1010
</PropertyGroup>
1111

12+
<PropertyGroup>
13+
<IsPackable>false</IsPackable>
14+
</PropertyGroup>
15+
16+
<PropertyGroup>
17+
<AnalysisMode>All</AnalysisMode>
18+
<AnalysisLevel>latest</AnalysisLevel>
19+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
20+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
21+
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
22+
</PropertyGroup>
23+
1224
<ItemGroup>
1325
<PackageReference Include="BenchmarkDotNet" Version="0.*" />
1426
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="9.*" />

src/PolylineAlgorithm.DependencyInjection/PolylineAlgorithm.DependencyInjection.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<PropertyGroup>
1212
<AnalysisMode>All</AnalysisMode>
13+
<AnalysisLevel>latest</AnalysisLevel>
1314
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1415
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1516
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>

src/PolylineAlgorithm/PolylineAlgorithm.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
<PropertyGroup>
1313
<AnalysisMode>All</AnalysisMode>
14+
<AnalysisLevel>latest</AnalysisLevel>
1415
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1516
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1617
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>

tests/PolylineAlgorithm.DependencyInjection.Tests/PolylineAlgorithm.DependencyInjection.Tests.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
<IsTestProject>true</IsTestProject>
1414
</PropertyGroup>
1515

16+
<PropertyGroup>
17+
<AnalysisMode>All</AnalysisMode>
18+
<AnalysisLevel>latest</AnalysisLevel>
19+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
20+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
21+
</PropertyGroup>
22+
1623
<ItemGroup>
1724
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.*" />
1825
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />

tests/PolylineAlgorithm.Tests/PolylineAlgorithm.Tests.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
<IsTestProject>true</IsTestProject>
1414
</PropertyGroup>
1515

16+
<PropertyGroup>
17+
<AnalysisMode>All</AnalysisMode>
18+
<AnalysisLevel>latest</AnalysisLevel>
19+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
20+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
21+
</PropertyGroup>
22+
1623
<ItemGroup>
1724
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
1825
<PackageReference Include="MSTest.Analyzers" Version="3.*">

0 commit comments

Comments
 (0)