Skip to content

Commit

Permalink
Support .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan Csizmadia authored and zcsizmadia committed Nov 12, 2024
1 parent 6c863c0 commit c75cd32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
6.0.x
7.0.x
8.0.x
9.0.x
dotnet-quality: 'preview'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
6.0.x
7.0.x
8.0.x
9.0.x
dotnet-quality: 'preview'

- name: Install dependencies
run: dotnet restore
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup Label="Frameworks">
<ClassLibTargetFrameworks>netstandard2.0;net7.0;net8.0</ClassLibTargetFrameworks>
<TestTargetFrameworks>net6.0;net7.0;net8.0</TestTargetFrameworks>
<SampleTargetFramework>net8.0</SampleTargetFramework>
<ClassLibTargetFrameworks>netstandard2.0;net7.0;net8.0;net9.0</ClassLibTargetFrameworks>
<TestTargetFrameworks>net6.0;net7.0;net8.0;net9.0</TestTargetFrameworks>
<SampleTargetFramework>net9.0</SampleTargetFramework>

<!-- Unit tests are running against EOL SDKs as well. Disable all warnings related to EOL SDK -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Run "dotnet list package (dash,dash)outdated" to see the latest versions of each package.-->
<ItemGroup Label="Dependencies">
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" Condition="$(TargetFramework.StartsWith('netstandard'))" />
<PackageVersion Include="System.Text.Json" Version="8.0.5" Condition="$(TargetFramework.StartsWith('netstandard'))" />
<PackageVersion Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" Condition="$(TargetFramework.StartsWith('netstandard'))" />
</ItemGroup>
<ItemGroup Label="Build Dependencies">
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
Expand Down

0 comments on commit c75cd32

Please sign in to comment.