C#
C#

help

Root Question Message

hulton fogan
hulton fogan1/22/2023
What could be causing the following issue (Method not found):

Method not found: 'System.Collections.Generic.IList`1<Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet.get_ModelFinalizingConventions()'.
hulton fogan
hulton fogan1/22/2023
This issue appears when I try to do dotnet ef database update
Estal
Estal1/22/2023
Is it reliant on a Nugent Package?
Estal
Estal1/22/2023
I'm finding something similar, but not exact where they needed the package from
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
and had to add the following usings to their directive
using System.Reflection;
using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation;
using Microsoft.Extensions.FileProviders;
hulton fogan
hulton fogan1/22/2023
I managed to resolve this issue, but I don't think the thing that resolved mine will apply to you unfortunately - I somehow installed Microsoft.EntityFrameworkCore even though I already had it installed, I uninstalled the duplicate package in NuGet and it worked
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy