I keep getting this error when trying to add a scaffolded item to my presentation layer.
Packages I am using
I keep getting this error when trying to add a scaffolded item to my presentation layer.
Packages I am using
It looks like scaffolding the items installing the older version of Microsoft.EntityFrameworkCore.SqlServer
or Microsoft.EntityFrameworkCore
then your project currently depends on.
There are several ways that might help you fix the said issue. You could try them one by one.
If the issue persists, try to manually update the packages Microsoft.EntityFrameworkCore.SqlServer
or Microsoft.EntityFrameworkCore
Try to update the rest of the NuGet packages.
Reference: Package restore failed. Rolling back package changes