From Ever changing code
Jump to navigation Jump to search

NuGet is a Windows packaging system. A cross-platform implementation exists for Linux and Mac.

# Ubuntu install
sudo apt-get install nuget #mono environment will get installed as well as a dependency

# Add nuget source
# it's TeamCity NuGet Feed
nuget sources add -name AppStack -source -UserName nugetfeed -Password "Password123"
nuget source list
Registered Sources:

  1. [Enabled]
  2.  ApiStack [Enabled]

nuget source remove -Name ApiStack
Package source with Name: ApiStack removed successfully.

nuget list -Source ApiApp

MSBuild auto-detection: using msbuild version '' from 'C:\Program Files (x86)\Microsoft VisualStudio\2017\Professional\MSBuild\15.0\bin'.
Using credentials from config. UserName: nugetfeed
App1 1.0.1
App2 1.0.2
App3 2.0.1