[英]Not able to install Nuget packages in Rider
I am trying to install Microsoft.Identity.Web Nuget package in rider for a.Net Coren application.我正在尝试在 rider 中为 .Net Coren 应用程序安装 Microsoft.Identity.Web Nuget 包。 But, I am getting the error below:
但是,我收到以下错误:
Package restore failed. Rolling back package changes for 'ABC.WebAPI'. Package
'Microsoft.AspNet.WebApi.Client 4.0.20710' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Ve ... e package directly from the project to select a different version. ABC.WebAPI -> Microsoft.Identity.Web 1.25.10 -> Microsoft.Identity.Web.TokenCache 1.25.10 -> Microsoft.Identity.Client (>= 4.46.0) ABC.WebAPI -> Microsoft.Identity.Client (>= 4.43.2)
I tried to clear Nuget caches and also tried to invalidate caches and restart option couple of times but it did not work.我尝试清除 Nuget 缓存并尝试使缓存无效并重新启动选项几次,但它没有用。 Can anyone please help me out?
谁能帮帮我?
I was somehow able to install the Microsoft.Identity.Web Nuget 1.24.1 instead of 1.25.0 which worked out for me.我以某种方式能够安装 Microsoft.Identity.Web Nuget 1.24.1 而不是 1.25.0,这对我来说很有效。 Thanks.
谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.