Skip to content

Commit

Permalink
Support .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
dstelljes committed Nov 18, 2024
1 parent 689f8e6 commit 0f71c19
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- target: net462
os: windows-latest
- target: net8.0
- target: net9.0
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
steps:
- name: Pull code
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/dotnet/Chr.Avro.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/dotnet/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void Main(string[] args)
{
yield return new Result()
{
Runtime = "net8.0",
Runtime = "net9.0",
Library = runner.Library,
Suite = runner.Suite,
Iterations = runner.Iterations,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://json.schemastore.org/global",
"sdk": {
"rollForward": "latestFeature",
"version": "8.0.100"
"version": "9.0.100"
}
}
2 changes: 1 addition & 1 deletion src/Chr.Avro.Cli/Chr.Avro.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<IsPackable>true</IsPackable>
<OutputType>Exe</OutputType>
<PackAsTool>true</PackAsTool>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<ToolCommandName>dotnet-avro</ToolCommandName>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Chr.Avro.Fixtures/Chr.Avro.Fixtures.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Chr.Avro.Binary.Tests/Chr.Avro.Binary.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Chr.Avro.Codegen.Tests/Chr.Avro.Codegen.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Chr.Avro.Json.Tests/Chr.Avro.Json.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Chr.Avro.Tests/Chr.Avro.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 0f71c19

Please sign in to comment.