2013年5月23日 星期四

Host Our Own NuGet Feed by installing NuGet.Server

 

image

Install-Package NuGet.Server

image

Open Web.config file, make sure to delete first <compilation …> node due to i don’t have .NET framework 4.5 installed in my local

image

Ctrl-F5 to run the application

image

Click here to the link http://localhost:xxx/nuget/Packages, so far no package inside

image

Let’s add a new source feed to our local server

image

No package could be found so far

image

****************************************************************************************************

 

Let’s do copy and paste a package into our project->packages folder

Copy from temp folder

image

Paste to Visual Studio project –> Packages folder

image

After that, refresh the page again, we will see the package shows

image

It’s more clear showing in IE browser

image

We can also find it in Manage NuGet Packages window

image

Or using Package Manager Console, Get-Package –ListAvailable (don’t forget to swith to righ source)

image

LINQPad is also supported

image

沒有留言:

張貼留言