Skip to content

Commit 8866fb7

Browse files
committed
Update project files to target .NET 8.0 and adjust copyright years and language versions
1 parent 1212f63 commit 8866fb7

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

src/todo.application/todo.application.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Todo.Application</AssemblyName>
66
<RootNamespace>Alteridem.Todo.Application</RootNamespace>
77
<Company>Alteridem Consulting</Company>
88
<Product>Todo.txt command line utility application library</Product>
9-
<Copyright>Copyright (c) 2023 Rob Prouse</Copyright>
10-
<LangVersion>10</LangVersion>
9+
<Copyright>Copyright (c) 2025 Rob Prouse</Copyright>
10+
<LangVersion>12</LangVersion>
1111
</PropertyGroup>
1212

1313
<!-- Make Internals visible to the unit tests -->

src/todo.domain/todo.domain.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Todo.Domain</AssemblyName>
66
<RootNamespace>Alteridem.Todo.Domain</RootNamespace>
77
<Company>Alteridem Consulting</Company>
88
<Product>Todo.txt command line utility domain library</Product>
9-
<Copyright>Copyright (c) 2023 Rob Prouse</Copyright>
10-
<LangVersion>10</LangVersion>
9+
<Copyright>Copyright (c) 2025 Rob Prouse</Copyright>
10+
<LangVersion>12</LangVersion>
1111
</PropertyGroup>
1212

1313
</Project>

src/todo.infrastructure/DependencyInjection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static IServiceCollection AddInfrastructure(this IServiceCollection servi
2323
var options = new JsonSerializerOptions
2424
{
2525
AllowTrailingCommas = true,
26-
IgnoreNullValues = true,
26+
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
2727
ReadCommentHandling = JsonCommentHandling.Skip,
2828
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
2929
WriteIndented = true

src/todo.infrastructure/todo.infrastructure.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Todo.Infrastructure</AssemblyName>
66
<RootNamespace>Alteridem.Todo.Infrastructure</RootNamespace>
77
<Company>Alteridem Consulting</Company>
88
<Product>Todo.txt command line utility infrastructure library</Product>
9-
<Copyright>Copyright (c) 2023 Rob Prouse</Copyright>
10-
<LangVersion>10</LangVersion>
9+
<Copyright>Copyright (c) 2025 Rob Prouse</Copyright>
10+
<LangVersion>12</LangVersion>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

src/todo/todo.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
<Authors>Rob Prouse</Authors>
99
<Company>Alteridem Consulting</Company>
1010
<Product>Todo.txt command line utility</Product>
11-
<Copyright>Copyright (c) 2024 Rob Prouse</Copyright>
11+
<Copyright>Copyright (c) 2025 Rob Prouse</Copyright>
1212
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1313
<PackageProjectUrl>https://github.com/rprouse/dotnet-todo</PackageProjectUrl>
1414
<RepositoryUrl>https://github.com/rprouse/dotnet-todo</RepositoryUrl>
1515
<PackageReadmeFile>Readme.md</PackageReadmeFile>
1616
<PackageId>dotnet-todo</PackageId>
17-
<Version>0.6.4</Version>
17+
<Version>0.7.0</Version>
1818
<PackAsTool>true</PackAsTool>
1919
<ToolCommandName>todo</ToolCommandName>
2020
<PackageOutputPath>./nupkg</PackageOutputPath>
2121
<RepositoryType>git</RepositoryType>
2222
<Description>dotnet-todo is a .NET command line port of http://todotxt.org/ that tries to remain faithful to the command line and functionality of the original shell script wherever possible.</Description>
23+
<LangVersion>12</LangVersion>
2324
</PropertyGroup>
2425

2526
<ItemGroup>

tests/todo.tests/todo.tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<RootNamespace>Alteridem.Todo.Tests</RootNamespace>
7+
<LangVersion>12</LangVersion>
78
</PropertyGroup>
89

910
<ItemGroup>

0 commit comments

Comments
 (0)