CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
MIT License
2.05k stars 172 forks source link

Version conflicts when updating to v8.2.1 #358

Closed caboodal closed 2 weeks ago

caboodal commented 2 weeks ago

Having just tried to upgrade Carter from 8.0.0 to 8.2.1 I get the following error: -

Severity    Code    Description Project File    Line    Suppression State   Details
Error   NU1107  Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 4.7.0 directly to project Blink.OMS.Web.Client to resolve this issue. 
Blink.OMS.Web.Client -> Carter 8.2.1 -> Carter.Analyzers 8.2.1 -> Microsoft.CodeAnalysis.CSharp 4.7.0 -> Microsoft.CodeAnalysis.Common (= 4.7.0) 
Blink.OMS.Web.Client -> Microsoft.EntityFrameworkCore.Design 8.0.6 -> Microsoft.CodeAnalysis.CSharp.Workspaces 4.5.0 -> Microsoft.CodeAnalysis.Common (= 4.5.0).    
Blink.OMS.Web.Client    C:\Caboodal\Sources\Blink\blink-oms\src\Blink.OMS.Web.Client\Blink.OMS.Web.Client.csproj    1       

Is this caused by Microsoft.EntityFrameworkCore.Design using the older version 4.5.0 and thus not a problem with Carter?

jchannon commented 2 weeks ago

Correct, unfortunately

On Wed, 19 Jun 2024 at 11:32, Andrew Holloway-Breward < @.***> wrote:

Having just tried to upgrade Carter from 8.0.0 to 8.2.1 I get the following error: -

Severity Code Description Project File Line Suppression State Details Error NU1107 Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 4.7.0 directly to project Blink.OMS.Web.Client to resolve this issue. Blink.OMS.Web.Client -> Carter 8.2.1 -> Carter.Analyzers 8.2.1 -> Microsoft.CodeAnalysis.CSharp 4.7.0 -> Microsoft.CodeAnalysis.Common (= 4.7.0) Blink.OMS.Web.Client -> Microsoft.EntityFrameworkCore.Design 8.0.6 -> Microsoft.CodeAnalysis.CSharp.Workspaces 4.5.0 -> Microsoft.CodeAnalysis.Common (= 4.5.0).
Blink.OMS.Web.Client C:\Caboodal\Sources\Blink\blink-oms\src\Blink.OMS.Web.Client\Blink.OMS.Web.Client.csproj 1

Is this caused by Microsoft.EntityFrameworkCore.Design using the older version 4.5.0 and thus not a problem with Carter?

— Reply to this email directly, view it on GitHub https://github.com/CarterCommunity/Carter/issues/358, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJQE4P7F2XOINRMKV6TZIFM27AVCNFSM6AAAAABJRY2YR2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DCOJZGEZDQNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>