I want to add the FluentValidation Nuget package in my asp.net core app through Nuget Package Manager.While adding I get this error:
Severity Code Description Project File Line Suppression State Error Version conflict detected for Microsoft.CodeAnalysis.Common. Reference the package directly from the project to resolve this issue. Project Name -> FluentValidation.AspNetCore 7.6.103 -> Microsoft.AspNetCore.Mvc 2.1.0 -> Microsoft.AspNetCore.Mvc.TagHelpers 2.1.0 -> Microsoft.AspNetCore.Mvc.Razor 2.1.0 -> Microsoft.CodeAnalysis.Razor 2.1.0 -> Microsoft.CodeAnalysis.Common (>= 2.8.0) Project Name -> Microsoft.VisualStudio.Web.CodeGeneration.Design 2.0.0 -> Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration 2.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore 2.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Core 2.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Templating 2.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Utils 2.0.0 -> Microsoft.CodeAnalysis.CSharp.Workspaces 2.3.1 -> Microsoft.CodeAnalysis.Workspaces.Common 2.3.1 -> Microsoft.CodeAnalysis.Common (= 2.3.1).
How can I solve this error?