diff --git a/.github/workflows/dotnet-migrations-ensure-compatibility.yaml b/.github/workflows/dotnet-migrations-ensure-compatibility.yaml index ce5dc94fa09..1ceea0f0d55 100644 --- a/.github/workflows/dotnet-migrations-ensure-compatibility.yaml +++ b/.github/workflows/dotnet-migrations-ensure-compatibility.yaml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Install dotnet ef # Version should be the same as Migrations docker file and project - run: dotnet tool install --version 8.0.7 --global dotnet-ef + run: dotnet tool install --version 9.0.0 --global dotnet-ef - name: Check if migrations script can be generated run: | diff --git a/backend/Migrations.Dockerfile b/backend/Migrations.Dockerfile index 6523121e42b..09569daacc0 100644 --- a/backend/Migrations.Dockerfile +++ b/backend/Migrations.Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY . . -RUN dotnet tool install --version 8.0.7 --global dotnet-ef +RUN dotnet tool install --version 9.0.0 --global dotnet-ef ENV PATH="$PATH:/root/.dotnet/tools" ENV OidcLoginSettings__FetchClientIdAndSecretFromRootEnvFile=false diff --git a/backend/packagegroups/NuGet.props b/backend/packagegroups/NuGet.props index 389193bbd30..7aa6307c86f 100644 --- a/backend/packagegroups/NuGet.props +++ b/backend/packagegroups/NuGet.props @@ -29,8 +29,8 @@ <PackageReference Update="Microsoft.AspNetCore.OpenApi" Version="9.0.0" /> <PackageReference Update="HtmlAgilityPack" Version="1.11.67" /> <PackageReference Update="Microsoft.DiaSymReader.Native" Version="1.7.0" /> - <PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.8" /> - <PackageReference Update="Microsoft.EntityFrameworkCore.Tools" Version="8.0.10" /> + <PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.1" /> + <PackageReference Update="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0" /> <PackageReference Update="Microsoft.FeatureManagement.AspNetCore" Version="3.5.0" /> <PackageReference Update="Scrutor" Version="4.2.2" /> <PackageReference Update="Polly" Version="8.4.2" /> diff --git a/backend/src/Designer/Designer.csproj b/backend/src/Designer/Designer.csproj index 341117518d1..c52469b77f6 100644 --- a/backend/src/Designer/Designer.csproj +++ b/backend/src/Designer/Designer.csproj @@ -14,10 +14,6 @@ <Configurations>Release;Debug</Configurations> </PropertyGroup> - <PropertyGroup> - <CodeAnalisysCompatibleVersion>4.5.0</CodeAnalisysCompatibleVersion> - </PropertyGroup> - <ItemGroup> <PackageReference Include="Altinn.App.Core" /> <PackageReference Include="Altinn.Authorization.ABAC" /> @@ -59,8 +55,6 @@ <PackageReference Include="NuGet.Versioning" /> <PackageReference Include="Polly" /> <PackageReference Include="Scrutor" /> - <PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="$(CodeAnalisysCompatibleVersion)" /> - <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="$(CodeAnalisysCompatibleVersion)" /> </ItemGroup> <ItemGroup> diff --git a/backend/tests/Designer.Tests/Designer.Tests.csproj b/backend/tests/Designer.Tests/Designer.Tests.csproj index daf49e71bcd..3598a50a8dd 100644 --- a/backend/tests/Designer.Tests/Designer.Tests.csproj +++ b/backend/tests/Designer.Tests/Designer.Tests.csproj @@ -10,10 +10,6 @@ <TestRepoPrefix>test-repo-</TestRepoPrefix> </PropertyGroup> - <PropertyGroup> - <CodeAnalisysCompatibleVersion>4.5.0</CodeAnalisysCompatibleVersion> - </PropertyGroup> - <ItemGroup> <PackageReference Include="Altinn.ApiClients.Maskinporten" /> <PackageReference Include="Basic.Reference.Assemblies" /> @@ -37,9 +33,6 @@ </PackageReference> <PackageReference Include="Microsoft.Extensions.DependencyModel" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" /> - <PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="$(CodeAnalisysCompatibleVersion)" /> - <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="$(CodeAnalisysCompatibleVersion)" /> - <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(CodeAnalisysCompatibleVersion)" /> </ItemGroup> <ItemGroup>