0
我想安装Nuget包使用Microsoft.AspNet.Identity.Core 2.2.1,但我得到以下错误信息。AddIdentity .NET核心
Package Microsoft.AspNet.Identity.Core 2.2.1 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.AspNet.Identity.Core 2.2.1 supports: net45 (.NETFramework,Version=v4.5)
One or more packages are incompatible with .NETCoreApp,Version=v1.1.
Package restore failed. Rolling back package changes for 'xxxx'.
我在Visual Stuido 2017中创建了一个全新的项目,所以与我已安装的任何其他项目无关。
它在错误消息中提到它:它只支持.NET 4.5,而不是.NET Core –
那么我不明白吗?我开始了.Net核心应用程序,现在我无法添加.net核心软件包? – Skiltz
也许你打算安装这个软件包呢? 'https:// www.nuget.org/packages/Microsoft.AspNetCore.Identity' –