Last post Oct 29, 2020 07:12 AM by Rena Ni
Oct 28, 2020 12:46 PM|pmdrait|LINK
Package 'Microsoft.AspNet.Identity.EntityFramework 2.2.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8'
instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
I am getting more then 20 warnings of this type. What is the simple way to upgrade the project.
Oct 28, 2020 02:34 PM|mgebhard|LINK
ASP.NET Core 3.1 is not compatible with the .NET.
Oct 28, 2020 02:53 PM|bruce (sqlwork.com)|LINK
For each of you nuget packages you must pick the .netstandard or .net core version. If there not one, you will need to replace the package. all you reference projects must be .netstandard or .net core.
In your case you need a replacement for Microsoft.AspNet.Identity.EntityFramework nuget package because it does not support .net core. Asp.net core has one you can use instead.
if you want to use a current database you will need to migrate passwords. See this article for hints
Oct 29, 2020 07:12 AM|Rena Ni|LINK
From your error message,it seems you use a .Net nuget package in asp.net core 3.1 project.Why not using