Skip to content

Commit 4aca7b5

Browse files
author
Petr Sramek
committed
updated LangVersion to 13.0, added additional csproij properties
1 parent 0f5efe8 commit 4aca7b5

File tree

4 files changed

+44
-32
lines changed

4 files changed

+44
-32
lines changed
Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<LangVersion>13.0</LangVersion>
7+
<Nullable>enable</Nullable>
8+
<ImplicitUsings>enable</ImplicitUsings>
9+
<InvariantGlobalization>true</InvariantGlobalization>
10+
</PropertyGroup>
911

10-
<ItemGroup>
11-
<PackageReference Include="BenchmarkDotNet" Version="0.13.11" />
12-
</ItemGroup>
12+
<ItemGroup>
13+
<PackageReference Include="BenchmarkDotNet" Version="0.13.11" />
14+
</ItemGroup>
1315

14-
<ItemGroup>
15-
<ProjectReference Include="..\..\src\PolylineAlgorithm\PolylineAlgorithm.csproj" />
16-
</ItemGroup>
16+
<ItemGroup>
17+
<ProjectReference Include="..\..\src\PolylineAlgorithm\PolylineAlgorithm.csproj" />
18+
</ItemGroup>
1719

1820
</Project>

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
6+
<LangVersion>13.0</LangVersion>
77
<Nullable>enable</Nullable>
8+
<ImplicitUsings>enable</ImplicitUsings>
9+
<InvariantGlobalization>true</InvariantGlobalization>
810
</PropertyGroup>
911

1012
<ItemGroup>
Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<LangVersion>13.0</LangVersion>
6+
<Nullable>enable</Nullable>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<InvariantGlobalization>true</InvariantGlobalization>
9+
</PropertyGroup>
710

8-
<IsPackable>false</IsPackable>
9-
<IsTestProject>true</IsTestProject>
10-
</PropertyGroup>
11+
<PropertyGroup>
12+
<IsPackable>false</IsPackable>
13+
<IsTestProject>true</IsTestProject>
14+
</PropertyGroup>
1115

12-
<ItemGroup>
13-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
15-
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
16-
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
17-
<PackageReference Include="coverlet.collector" Version="6.0.0" />
18-
</ItemGroup>
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
19+
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
20+
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
21+
<PackageReference Include="coverlet.collector" Version="6.0.0" />
22+
</ItemGroup>
1923

20-
<ItemGroup>
21-
<ProjectReference Include="..\..\src\PolylineAlgorithm.DependencyInjection\PolylineAlgorithm.DependencyInjection.csproj" />
22-
</ItemGroup>
24+
<ItemGroup>
25+
<ProjectReference Include="..\..\src\PolylineAlgorithm.DependencyInjection\PolylineAlgorithm.DependencyInjection.csproj" />
26+
</ItemGroup>
2327

2428
</Project>

tests/PolylineAlgorithm.Tests/PolylineAlgorithm.Tests.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
5+
<LangVersion>13.0</LangVersion>
66
<Nullable>enable</Nullable>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<InvariantGlobalization>true</InvariantGlobalization>
9+
</PropertyGroup>
710

11+
<PropertyGroup>
812
<IsPackable>false</IsPackable>
913
<IsTestProject>true</IsTestProject>
1014
</PropertyGroup>
@@ -17,7 +21,7 @@
1721
</ItemGroup>
1822

1923
<ItemGroup>
20-
<ProjectReference Include="..\..\src\PolylineAlgorithm\PolylineAlgorithm.csproj" />
24+
<ProjectReference Include="..\..\src\PolylineAlgorithm\PolylineAlgorithm.csproj" />
2125
</ItemGroup>
2226

2327
</Project>

0 commit comments

Comments
 (0)