Skip to content

Commit e7cd91b

Browse files
committed
Upgrade to .NET 10
1 parent d1dbff8 commit e7cd91b

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Example/Example.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<Nullable>enable</Nullable>
66
<PackageIcon>logo.png</PackageIcon>
77
<OutputType>Exe</OutputType>
8-
<TargetFramework>net6.0</TargetFramework>
9-
<LangVersion>10</LangVersion>
8+
<TargetFramework>net10.0</TargetFramework>
9+
<LangVersion>latest</LangVersion>
1010
</PropertyGroup>
1111

1212
<ItemGroup>

Src/SharpConfig.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netstandard2.0;net10.0</TargetFrameworks>
55
<Description>An easy to use cfg/ini configuration library for .NET.</Description>
66
<Copyright>Copyright 2013-2026 Cem Dervis</Copyright>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@@ -10,6 +10,7 @@
1010
<FileVersion>4.0</FileVersion>
1111
<PackageIcon>logo.png</PackageIcon>
1212
<Version>4.0</Version>
13+
<LangVersion>latest</LangVersion>
1314
<Authors>Cem Dervis</Authors>
1415
<PackageProjectUrl>https://sharpconfig.org</PackageProjectUrl>
1516
<RepositoryUrl>https://github.com/cdervis/SharpConfig</RepositoryUrl>
@@ -32,12 +33,12 @@
3233
<Title>SharpConfig</Title>
3334
</PropertyGroup>
3435

35-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
36+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
3637
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
3738
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
3839
</PropertyGroup>
3940

40-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
41+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
4142
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
4243
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
4344
</PropertyGroup>

Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)