From b13a1c16f16912cb0cb2cac6a37fcb525b37969a Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 6 Jan 2024 12:04:07 +0000 Subject: [PATCH] chore: upgrade to .NET 8 --- Dockerfile | 4 ++-- VPLink.Common/VPLink.Common.csproj | 2 +- VPLink.Tests/VPLink.Tests.csproj | 2 +- VPLink/VPLink.csproj | 2 +- global.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 169ec52..9ddebf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base +FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ["VPLink/VPLink.csproj", "VPLink/"] RUN dotnet restore "VPLink/VPLink.csproj" diff --git a/VPLink.Common/VPLink.Common.csproj b/VPLink.Common/VPLink.Common.csproj index d052804..daf555a 100644 --- a/VPLink.Common/VPLink.Common.csproj +++ b/VPLink.Common/VPLink.Common.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/VPLink.Tests/VPLink.Tests.csproj b/VPLink.Tests/VPLink.Tests.csproj index 1c1233e..92fc731 100644 --- a/VPLink.Tests/VPLink.Tests.csproj +++ b/VPLink.Tests/VPLink.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable false diff --git a/VPLink/VPLink.csproj b/VPLink/VPLink.csproj index cf34467..0f8dd52 100644 --- a/VPLink/VPLink.csproj +++ b/VPLink/VPLink.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable Linux diff --git a/global.json b/global.json index 36e1a9e..b5b37b6 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.0", + "version": "8.0.0", "rollForward": "latestMajor", "allowPrerelease": false }