diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml
index 1440a56..74af8e1 100644
--- a/.azure/pipelines/azure-pipelines.yml
+++ b/.azure/pipelines/azure-pipelines.yml
@@ -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:
diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml
index 724bbd5..aaa60ed 100644
--- a/.github/workflows/dotnet-core.yml
+++ b/.github/workflows/dotnet-core.yml
@@ -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
diff --git a/samples/ConsoleApp/ConsoleApp.csproj b/samples/ConsoleApp/ConsoleApp.csproj
index 423b004..3bfcf78 100644
--- a/samples/ConsoleApp/ConsoleApp.csproj
+++ b/samples/ConsoleApp/ConsoleApp.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0;net7.0;net6.0;net5.0;netcoreapp3.1
+ net9.0;net8.0;net7.0;net6.0;net5.0;netcoreapp3.1
false
false
diff --git a/src/NetLah.Extensions.Configuration/NetLah.Extensions.Configuration.csproj b/src/NetLah.Extensions.Configuration/NetLah.Extensions.Configuration.csproj
index 1994970..34d1cb0 100644
--- a/src/NetLah.Extensions.Configuration/NetLah.Extensions.Configuration.csproj
+++ b/src/NetLah.Extensions.Configuration/NetLah.Extensions.Configuration.csproj
@@ -3,7 +3,7 @@
NetLah.Extensions.Configuration
appsettings;configuration;configuration-builder;connection-string;extensions;json;ini;xml;environments;command-line-arguments;args;dotnet;netcore;aspnetcore
- net8.0;net7.0;net6.0;netstandard2.1
+ net9.0;net8.0;net7.0;net6.0;netstandard2.1
Reusable classes to build application configuration with environmentName such as ConfigurationBuilderBuilder and CertificateLoader
true
../../NetLah.snk
diff --git a/test/NetLah.Extensions.Configuration.Test/NetLah.Extensions.Configuration.Test.csproj b/test/NetLah.Extensions.Configuration.Test/NetLah.Extensions.Configuration.Test.csproj
index 5fb5d4f..b6c94c0 100644
--- a/test/NetLah.Extensions.Configuration.Test/NetLah.Extensions.Configuration.Test.csproj
+++ b/test/NetLah.Extensions.Configuration.Test/NetLah.Extensions.Configuration.Test.csproj
@@ -1,7 +1,7 @@
- net8.0;net7.0;net6.0;net5.0;netcoreapp3.1
+ net9.0;net8.0;net7.0;net6.0;net5.0;netcoreapp3.1
false
true
../../NetLah.snk