Skip to content

Commit

Permalink
Add .NET 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Mar 20, 2024
1 parent 47f5a55 commit 09a645e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .azure/pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ steps:
- task: UseDotNet@2
displayName: "Use .NET Core sdk 8.x"
inputs:
version: 8.x
version: 9.x
includePreviewVersions: true

- task: UseDotNet@2
displayName: "Use .NET Core sdk 8.x"
inputs:
version: 8.x

- task: UseDotNet@2
displayName: "Use .NET Core sdk 7.x"
inputs:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,23 @@ jobs:
name: ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core 8.0.x, 7.0.x, 6.0.x, 5.0.x and 3.1.x
uses: actions/setup-dotnet@v3
- name: Setup .NET 8.0.x, 7.0.x, 6.0.x, 5.0.x and 3.1.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x-x
8.0.x
- name: Setup .NET 9.0.x Preview
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
dotnet-quality: 'preview'
- name: dotnet info
run: dotnet --info
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion samples/ConsoleApp/ConsoleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<IsPackable>false</IsPackable>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PackageId>NetLah.Extensions.Configuration</PackageId>
<PackageTags>appsettings;configuration;configuration-builder;connection-string;extensions;json;ini;xml;environments;command-line-arguments;args;dotnet;netcore;aspnetcore</PackageTags>
<TargetFrameworks>net8.0;net7.0;net6.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;netstandard2.1</TargetFrameworks>
<Description>Reusable classes to build application configuration with environmentName such as ConfigurationBuilderBuilder and CertificateLoader</Description>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../NetLah.snk</AssemblyOriginatorKeyFile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<IsPackable>false</IsPackable>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../NetLah.snk</AssemblyOriginatorKeyFile>
Expand Down

0 comments on commit 09a645e

Please sign in to comment.