asp.net – NuGet:’X’已经有一个依赖定义为’Y’

前端之家收集整理的这篇文章主要介绍了asp.net – NuGet:’X’已经有一个依赖定义为’Y’前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在NuGet中得到以下错误,同时尝试安装软件包Microsoft.AspNet.Server.IIS
Attempting to resolve dependency 'Microsoft.AspNet.Loader.IIS.Interop (≥ 1.0.0-alpha4-10330)'.
Attempting to resolve dependency 'Microsoft.AspNet.Loader.IIS (≥ 1.0.0-alpha4-10330)'.
'Microsoft.AspNet.Loader.IIS' already has a dependency defined for 'Microsoft.AspNet.FeatureModel'.

如何解决呢?

更新:
我得到以下:

Attempting to resolve dependency 'Microsoft.Framework.DependencyInjection (≥ 1.0.0-alpha4-10326)'.
'Microsoft.Framework.DependencyInjection' already has a dependency defined for 'Microsoft.Framework.ConfigurationModel'.

解决方法

这是通过安装最新的NuGet包管理器来解决

https://visualstudiogallery.msdn.microsoft.com/4ec1526c-4a8c-4a84-b702-b21a8f5293ca

不要忘记重新启动VisualStudio

原文链接:https://www.f2er.com/aspnet/254566.html

猜你在找的asp.Net相关文章