2013年5月21日 星期二

NuGet Package Source

The default NuGet official package source.

1. Open NuGet Package Manager –> choose NuGet official package source –> click Settings

image

 

2. The Options window will pop-up, the official source is https://nuget.org/api/v2/

image

 

3. In the Package Manager Console, we now only see one source.

image

 

Followings we will add a new source from our local by copying all packages installed default from MVC4 project.

Step 1, Locate to the packages folder of MVC4 project folder, copy all sub-folders inside.

image

 

Step 2, Create a new folder, NuGet Local Source, and paste all sub-folders copied from step 1.

image

 

Step 3, Input Name & Source –> click Add button

image

 

Step 4, After click Add button, our local source will appear. Click OK to close the window

image

 

Step 5, Now we can see our Local Source list on NuGet

image

 

Step 6, We can also see it in Package Manager Console

image

沒有留言:

張貼留言