Home > Visual Studio > Nuget quick references

Nuget quick references

Update-Package –reinstall

Use this to quickly reinstall all of your packages, especially useful when things go wrong


Nuget Sources

When you need to add more nuget sources in Visual studio, put a nuget.config file in the same folder as the solution file

the content of the nuget.config file should be

<?xml version="1.0" encoding="utf-8"?>
    <add key="Identity* Dev Feed" value="https://www.myget.org/F/identity/" />
    <add key="Nuget" value="https://www.nuget.org/api/v2/" />
    <add key="All" value="(Aggregate source)" />

Categories: Visual Studio
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: