From 07352c5805d72ab894c080c03bae748d9e87502d Mon Sep 17 00:00:00 2001 From: Pofay Date: Mon, 24 Apr 2023 07:40:51 +0000 Subject: [PATCH] feat: Minimal working configuration to update project for .NET 7.0.0 preview note: Has issues with port forwarding with devcontainers, and still investigating --- .devcontainer/Dockerfile | 2 +- API.Test/API.Test.csproj | 8 ++++---- Application.Test/Application.Test.csproj | 8 ++++---- Application/Application.csproj | 22 +++++++++++----------- Dockerfile | 4 ++-- Domain.Test/Domain.Test.csproj | 8 ++++---- Domain/Domain.csproj | 6 +++--- Infrastructure/Infrastructure.csproj | 6 +++--- Persistence/Persistence.csproj | 6 +++--- 9 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f53d9d0..44acaf2 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1 +1 @@ -FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/dotnet:0-6.0 \ No newline at end of file +FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/dotnet:0-7.0 \ No newline at end of file diff --git a/API.Test/API.Test.csproj b/API.Test/API.Test.csproj index e839927..46eaf93 100644 --- a/API.Test/API.Test.csproj +++ b/API.Test/API.Test.csproj @@ -1,9 +1,9 @@ - net6.0 + net7.0 enable - enable + disable false @@ -23,8 +23,8 @@ - - + + diff --git a/Application.Test/Application.Test.csproj b/Application.Test/Application.Test.csproj index 14917dd..869960f 100644 --- a/Application.Test/Application.Test.csproj +++ b/Application.Test/Application.Test.csproj @@ -1,9 +1,9 @@ - net6.0 + net7.0 enable - enable + disable false @@ -23,8 +23,8 @@ - - + + diff --git a/Application/Application.csproj b/Application/Application.csproj index 3007517..bd14275 100644 --- a/Application/Application.csproj +++ b/Application/Application.csproj @@ -1,22 +1,22 @@ - - - + + + - - - - - - + + + + + + - net6.0 + net7.0 enable - enable + disable diff --git a/Dockerfile b/Dockerfile index 8164d9a..a33162f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env WORKDIR /app EXPOSE 8080 @@ -32,7 +32,7 @@ COPY client-app/ . RUN npm run build:prod # build the final image -FROM mcr.microsoft.com/dotnet/aspnet:6.0 +FROM mcr.microsoft.com/dotnet/aspnet:7.0 WORKDIR /app COPY --from=build-env /app/out . COPY --from=build-client /app/client-app/dist ./wwwroot diff --git a/Domain.Test/Domain.Test.csproj b/Domain.Test/Domain.Test.csproj index ce4af47..efdc861 100644 --- a/Domain.Test/Domain.Test.csproj +++ b/Domain.Test/Domain.Test.csproj @@ -1,9 +1,9 @@ - net6.0 + net7.0 enable - enable + disable false @@ -22,8 +22,8 @@ - - + + diff --git a/Domain/Domain.csproj b/Domain/Domain.csproj index 995b6b6..4aa2fd1 100644 --- a/Domain/Domain.csproj +++ b/Domain/Domain.csproj @@ -1,13 +1,13 @@ - net6.0 + net7.0 enable - enable + disable - + diff --git a/Infrastructure/Infrastructure.csproj b/Infrastructure/Infrastructure.csproj index 4493223..1218c0e 100644 --- a/Infrastructure/Infrastructure.csproj +++ b/Infrastructure/Infrastructure.csproj @@ -4,12 +4,12 @@ - - + + - net6.0 + net7.0 enable disable diff --git a/Persistence/Persistence.csproj b/Persistence/Persistence.csproj index 6e5b7f9..d6908ce 100644 --- a/Persistence/Persistence.csproj +++ b/Persistence/Persistence.csproj @@ -5,12 +5,12 @@ - - + + - net6.0 + net7.0 enable