简体   繁体   English

无法在vs 2017中添加任何nuget包

[英]Unable to add any nuget package in vs 2017

Am trying to add nuget package prism.core in vs 2017 and target framework is 4.6.1,its giving this error 我试图在vs 2017中添加nuget包prism.core并且目标框架是4.6.1,它给出了这个错误

Severity Code Description Project File Line Suppression State Error Failed to add reference to 'Microsoft.Practices.ServiceLocation'. 严重级代码说明项目文件行抑制状态错误无法添加对“Microsoft.Practices.ServiceLocation”的引用。 Library not registered. 图书馆未注册。 (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED) (HRESULT的例外情况:0x8002801D(TYPE_E_LIBNOTREGISTERED)

tried to install newtonsoft.json package, got this error 试图安装newtonsoft.json包,得到了这个错误

Severity Code Description Project File Line Suppression State Error Failed to add reference to 'Newtonsoft.Json'. 严重级代码说明项目文件行抑制状态错误无法添加对“Newtonsoft.Json”的引用。 Library not registered. 图书馆未注册。 (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) 0 (HRESULT的例外情况:0x8002801D(TYPE_E_LIBNOTREGISTERED))0

Not able to install any nuget package? 无法安装任何nuget包? is this is something to do with vs 2017? 这与vs 2017有什么关系?

在此输入图像描述

修复视觉工作室后,它工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM