[ Visual Studio ] refresh NuGet Package manager

1)Remove the following file

C:\Users\username\AppData\Roaming\NuGet\NuGet.Config

2)View > Other Windows > Package Manager Console

Update-Package -Reinstall

References

Manage NuGet Packages…

Solution Explorer > Right click at Application Name > Manage NuGet Packages…

Or sometimes it is because of the reference lost

Right click on project > Add Reference

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s