diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2fcf7a8..f1b6aa7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 6.0.100
+ dotnet-version: 8.0.100
- name: Restore
run: dotnet restore
- name: Build
@@ -45,7 +45,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 6.0.100
+ dotnet-version: 8.0.100
- name: Build
run: dotnet build -c Release
- name: Create Release NuGet package
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 7fddf10..a4f0215 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -9,7 +9,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
- "program": "${workspaceFolder}/docker-example/ConsoleApp/bin/Debug/net6.0/ConsoleApp.dll",
+ "program": "${workspaceFolder}/docker-example/ConsoleApp/bin/Debug/net8.0/ConsoleApp.dll",
"args": [],
"cwd": "${workspaceFolder}/docker-example/ConsoleApp",
"console": "internalConsole",
diff --git a/docker-example/ConsoleApp/ConsoleApp.csproj b/docker-example/ConsoleApp/ConsoleApp.csproj
index 7b96d01..f1fa7fe 100644
--- a/docker-example/ConsoleApp/ConsoleApp.csproj
+++ b/docker-example/ConsoleApp/ConsoleApp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net8.0
diff --git a/docker-example/Dockerfile b/docker-example/Dockerfile
index 4ee3c72..c16a44d 100644
--- a/docker-example/Dockerfile
+++ b/docker-example/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim-amd64 as build-env
+FROM mcr.microsoft.com/dotnet/sdk:8.0.100-bullseye-slim-amd64 as build-env
WORKDIR /app
# Copy csproj and restore as distinct layers
@@ -13,7 +13,7 @@ RUN dotnet publish -c Release -o /app/out
RUN dotnet tool install --tool-path /app/out dotnet-certificate-tool
# Build runtime image
-FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim-amd64
+FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-bullseye-slim-amd64
WORKDIR /app
COPY --from=build-env /app/out .
COPY ./docker-entrypoint.sh .
diff --git a/docker-example/global.json b/docker-example/global.json
index ed3fdea..f3365c4 100644
--- a/docker-example/global.json
+++ b/docker-example/global.json
@@ -1,5 +1,5 @@
{
"sdk": {
- "version": "6.0.100"
+ "version": "8.0.100"
}
}
\ No newline at end of file
diff --git a/src/GSoft.CertificateTool.csproj b/src/GSoft.CertificateTool.csproj
index 627398d..1ebea6a 100755
--- a/src/GSoft.CertificateTool.csproj
+++ b/src/GSoft.CertificateTool.csproj
@@ -4,7 +4,7 @@
Exe
CLI tool that installs a certificate to the specified store (defaults to My).
https://github.com/gsoft-inc/dotnet-certificate-tool
- net6.0;net5.0;netcoreapp3.1
+ net8.0;net7.0;net6.0;net5.0;netcoreapp3.1