我正在尝试将 nuget 包安装Swashbuckle
到一个新项目中,这将使我大摇大摆。我创建了项目,然后尝试添加项目,但出现错误:
Severity Code Description Project File Line Suppression State
Error NU1107 Version conflict detected for Microsoft.AspNet.WebApi.Client. Install/reference Microsoft.AspNet.WebApi.Client 5.2.6 directly to project TestAPI to resolve this issue.
TestAPI -> Microsoft.AspNetCore.App 2.1.1 -> Microsoft.AspNet.WebApi.Client (>= 5.2.6 && < 5.3.0)
TestAPI -> Swashbuckle 5.6.0 -> Microsoft.AspNet.WebApi.WebHost 4.0.20710 -> Microsoft.AspNet.WebApi.Core 4.0.20710 -> Microsoft.AspNet.WebApi.Client (>= 4.0.20710 && < 4.1.0). TestAPI
如何解决此错误?我已经升级了所有我能找到的包和东西......
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句