Tuesday, March 29, 2016

Self host Nuget Server or Gallery and Nuget tools

There are 3-ways to setup Nuget, dir, WebApp, Nuget Gallery

Repository== IIS Server or Local Dirtory or Nuget Gallary
ASP.Net empty WebApp, install-package nuget.server 
=> ur own nugget

local Nuget Galary=nuget.org open source download
Runs as WebSite+Sql Express.
Nuget Gallery Web Page=NugetExplorer e.g. upload

NugetExplorer--Win Desktop App
GitHub build need 7.1 SDK, CodePlex has binary

Create .nupkg file--NugetExplorer->Content->Meta->Tag-
--> Dependency-->need to know ur own Dependencies
rest dependencies pickup by Nuget Server

NuGet.exe command Line tool--regular cmd not PS1
NugetExplorer--Open->"Nuget Command Line tools"--Download
open nupkg to get NugGet.exe saved to c:\tools


nugget.exe setApiKey 
nugget.exe publish mypackage.1.0.0.0.nupkg 
nuget push m.1.0.nupkg -s http://localhost:4222/ MYKEY

PS1
Get-Package -ListAvailable copy package localfeed -updates
LinqPad see Nuget Package
install-package uninstall-package 
get-help nuget install-package -examples
get-package -filter jq -project prj1




No comments:

Post a Comment