From a2f6cffb3a05f7155fbd4dc019a6800fc490b681 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:26:44 +0000 Subject: [PATCH] Update dotnet monorepo to v9 --- Dockerfile | 4 ++-- TShockAPI/TShockAPI.csproj | 2 +- TShockLauncher/TShockLauncher.csproj | 2 +- TShockPluginManager/TShockPluginManager.csproj | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87024fb9e..ccb9d51cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # TARGETPLATFORM and BUILDPLATFORM are automatically filled in by Docker buildx. # They should not be set in the global scope manually. -FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:6.0 AS builder +FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:9.0 AS builder # Copy build context WORKDIR /TShock @@ -30,7 +30,7 @@ RUN \ dotnet publish -o output/ -r "${ARCH}" -v m -f net6.0 -c Release -p:PublishSingleFile=true --self-contained false # Runtime image -FROM --platform=${TARGETPLATFORM} mcr.microsoft.com/dotnet/runtime:6.0 AS runner +FROM --platform=${TARGETPLATFORM} mcr.microsoft.com/dotnet/runtime:9.0 AS runner WORKDIR /server COPY --from=builder /TShock/TShockLauncher/output ./ diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj index 9da8cd085..8c71db94b 100644 --- a/TShockAPI/TShockAPI.csproj +++ b/TShockAPI/TShockAPI.csproj @@ -35,7 +35,7 @@ <PackageReference Include="BCrypt.Net-Next" Version="4.0.3" /> <PackageReference Include="GetText.NET" Version="1.7.14" /> <PackageReference Include="MySql.Data" Version="8.0.31" /> - <PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.11" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.0" /> </ItemGroup> <ItemGroup> diff --git a/TShockLauncher/TShockLauncher.csproj b/TShockLauncher/TShockLauncher.csproj index e3c4ac327..1faa36abd 100644 --- a/TShockLauncher/TShockLauncher.csproj +++ b/TShockLauncher/TShockLauncher.csproj @@ -31,7 +31,7 @@ <ItemGroup> <PackageReference Include="BCrypt.Net-Next" Version="4.0.3" /> <PackageReference Include="MySql.Data" Version="8.0.31" /> - <PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.11" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.0" /> <PackageReference Include="ModFramework" Version="1.1.7" GeneratePathProperty="true" /> <!-- only used to extract out to ./bin. --> <PackageReference Include="GetText.NET" Version="1.7.14" /> <!-- only used to extract out to ./bin. --> diff --git a/TShockPluginManager/TShockPluginManager.csproj b/TShockPluginManager/TShockPluginManager.csproj index 33c503fde..12c290f17 100644 --- a/TShockPluginManager/TShockPluginManager.csproj +++ b/TShockPluginManager/TShockPluginManager.csproj @@ -11,7 +11,7 @@ <PackageReference Include="NuGet.Protocol" Version="6.3.1" /> <PackageReference Include="NuGet.Resolver" Version="6.3.1" /> <PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" /> - <PackageReference Include="System.Reflection.MetadataLoadContext" Version="6.0.0" /> + <PackageReference Include="System.Reflection.MetadataLoadContext" Version="9.0.0" /> <PackageReference Include="GetText.NET" Version="1.7.14" /> </ItemGroup>