[BUG V2] Error NU1107: Version conflict detected for Microsoft.CodeAnalysis.Common
wibu009 opened this issue · comments
Install/reference Microsoft.CodeAnalysis.Common 4.7.0 directly to project FSH.WebApi.Server to resolve this issue.
FSH.WebApi.Server -> FSH.Framework.Infrastructure -> Carter 8.2.1 -> Carter.Analyzers 8.2.1 -> Microsoft.CodeAnalysis.CSharp 4.7.0 -> Microsoft.CodeAnalysis.Common (= 4.7.0)
FSH.WebApi.Server -> Microsoft.EntityFrameworkCore.Design 8.0.6 -> Microsoft.CodeAnalysis.CSharp.Workspaces 4.5.0 -> Microsoft.CodeAnalysis.Common (= 4.5.0).
Are you still facing this issue on v2 branch? I was facing this earlier, but there was new package released by Carter to address this. I don't see this issue occurring again. And, directly adding the carter package to API is something i wouldn't do for now, since there are architecture concerns for modularity.
Yes, I have this problem on v2. Ok, I will try updating the Carter package again to see if this problem is resolved or not
No, I actually meant that the packages are already up-to-date in the repository. I don't see any build errors happening both in my local as well as the github cicd pipeline.
Also in a couple of days, I am planning to remove Carter as such. Have to decide. Will keep you posted.