GANI
GANI

Reputation: 2059

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

Severity Code Description Project File Line Suppression State Error Failed to add reference to 'Microsoft.Practices.ServiceLocation'. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)

tried to install newtonsoft.json package, got this error

Severity Code Description Project File Line Suppression State Error Failed to add reference to 'Newtonsoft.Json'. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) 0

Not able to install any nuget package? is this is something to do with vs 2017?

enter image description here

Upvotes: 3

Views: 3672

Answers (1)

GANI
GANI

Reputation: 2059

After repairing the visual studio, it worked.

Upvotes: 8

Related Questions