Skip to content

Commit 342b338

Browse files
committed
chore!: Update to .NET 9.0 and project version 9.0.0
Updated .NET version in GitHub Actions workflows from 8.0.x to 9.0.x. Changed target framework in .csproj files from net8.0 to net9.0. Updated project versions from 8.0.0/8.0.1 to 9.0.0. Updated package references to version 9.0.0.
1 parent b1b312b commit 342b338

11 files changed

Lines changed: 29 additions & 29 deletions

File tree

.github/workflows/dotnet-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 8.0.x
20+
dotnet-version: 9.0.x
2121
include-prerelease: true
2222
- name: Restore dependencies
2323
run: dotnet restore

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 8.0.x
20+
dotnet-version: 9.0.x
2121
include-prerelease: true
2222
- name: Restore dependencies
2323
run: dotnet restore

src/CodeCapital.AspNetCore.Extensions.Configuration.Json/CodeCapital.AspNetCore.Extensions.Configuration.Json.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>8.0.0</Version>
3+
<TargetFramework>net9.0</TargetFramework>
4+
<Version>9.0.0</Version>
55
<PackageVersion>$(Version)</PackageVersion>
66
<Nullable>enable</Nullable>
77
<Description>This library adds an extension AddRemoteJsonFile() for configuration from remote url</Description>
@@ -17,12 +17,12 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
21-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
22-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
23-
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
24-
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.11" />
25-
<PackageReference Include="System.Text.Json" Version="8.0.5" />
20+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
21+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
22+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
23+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
24+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="9.0.0" />
25+
<PackageReference Include="System.Text.Json" Version="9.0.0" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

src/CodeCapital.AspNetCore.Mvc.Renderer/CodeCapital.AspNetCore.Mvc.Renderer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>8.0.0</Version>
3+
<TargetFramework>net9.0</TargetFramework>
4+
<Version>9.0.0</Version>
55
<PackageVersion>$(Version)</PackageVersion>
66
<Authors>Vaclav Elias</Authors>
77
<Description>This library adds RazorViewRenderer, View to string.</Description>

src/CodeCapital.AspNetCore.Mvc.TagHelpers/CodeCapital.AspNetCore.Mvc.TagHelpers.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>8.0.0</Version>
3+
<TargetFramework>net9.0</TargetFramework>
4+
<Version>9.0.0</Version>
55
<PackageVersion>$(Version)</PackageVersion>
66
<Nullable>enable</Nullable>
77
<Description>This library adds a few helpful tag helpers: asp-if, asp-class-*, asp-is-authorised. Note that you use word negate instead depricated asp-else. Also you use asp-if tag element instead asp-if-inner which was depricated.</Description>

src/CodeCapital.AspNetCore.RazorLibrary/CodeCapital.AspNetCore.RazorLibrary.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<Version>8.0.1</Version>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<Version>9.0.0</Version>
66
<PackageVersion>$(Version)</PackageVersion>
77
<Nullable>enable</Nullable>
88
<Description>This library adds a few helpful components: If, ProgressBar, GenericTable</Description>
@@ -37,8 +37,8 @@
3737
</ItemGroup>
3838

3939
<ItemGroup>
40-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.11" />
41-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.11" />
40+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.0" />
41+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" />
4242
</ItemGroup>
4343

4444
<ItemGroup>

src/CodeCapital.Services/CodeCapital.Services.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>8.0.0</Version>
3+
<TargetFramework>net9.0</TargetFramework>
4+
<Version>9.0.0</Version>
55
<PackageVersion>$(Version)</PackageVersion>
66
<Authors>Vaclav Elias</Authors>
77
<Description>This library adds a few useful services for ASP.NET Core applications; MailGun, Rss, ReCaptcha, SiteMap..</Description>
@@ -17,9 +17,9 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
21-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
22-
<PackageReference Include="System.Text.Json" Version="8.0.5" />
20+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
21+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
22+
<PackageReference Include="System.Text.Json" Version="9.0.0" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

src/CodeCapital.System.Text.Json/CodeCapital.System.Text.Json.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>8.0.0</Version>
3+
<TargetFramework>net9.0</TargetFramework>
4+
<Version>9.0.0</Version>
55
<PackageVersion>$(Version)</PackageVersion>
66
<Authors>Vaclav Elias</Authors>
77
<Description>JsonFlattener is a C# library that provides an easy way to flatten JSON objects or arrays into a flat list of key-value pairs. It supports various options, such as custom key delimiters, max depth, and removing indentation from nested objects. This library is built on top of System.Text.Json and is compatible with .NET Core.</Description>

src/CodeCapital.System/CodeCapital.System.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<Nullable>enable</Nullable>
55
<PackageLicenseExpression>MIT</PackageLicenseExpression>
66
<RepositoryUrl>https://github.com/codecapital/CodeCapital.AspNetCore</RepositoryUrl>

test/System.Text.Json.Benchmark/System.Text.Json.Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

0 commit comments

Comments
 (0)