From 0a027dd80d8e66d4ddfe3d176b86b3219fb57ed7 Mon Sep 17 00:00:00 2001 From: Laura Neto <12862535+lauraneto@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:12:45 +0200 Subject: [PATCH] Dependencies: Fixed dependency conflicts when installing Microsoft.EntityFrameworkCore.Design (closes #20421) (#20474) * Add explicit references to Microsoft.CodeAnalysis.* packages to fix conflicts when installing Microsoft.EntityFrameworkCore.Design This allows consumers to simply install Microsoft.EntityFrameworkCore.Design without having to manually install specific versions to deal with transitive dependency problems. * Disable CPM for UI project to better reflect consumers * Update src/Umbraco.Infrastructure/Umbraco.Infrastructure.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- Directory.Packages.props | 3 --- .../Umbraco.Infrastructure.csproj | 6 +++++- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 15 +++------------ 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 94a3dd9c67..ca36192542 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,14 +14,11 @@ - - - diff --git a/src/Umbraco.Infrastructure/Umbraco.Infrastructure.csproj b/src/Umbraco.Infrastructure/Umbraco.Infrastructure.csproj index 7df82c5cb0..1ae0863fe1 100644 --- a/src/Umbraco.Infrastructure/Umbraco.Infrastructure.csproj +++ b/src/Umbraco.Infrastructure/Umbraco.Infrastructure.csproj @@ -64,8 +64,12 @@ - + + + + + diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index d3a32481d5..a2fa5d39ea 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -5,6 +5,7 @@ false false + false @@ -23,23 +24,13 @@ - - - - - - - - - - - + - +