Core client libraries for NuGet Services
Switch branches/tags
add-symbols-metadata dev-abood-list dev-anmishr-pack dev-anmishr-tfm dev-asja-7084 dev-asja-PersistDGSpec dev-asja-TryRandomMachine dev-asja-addRetryDelete dev-asja-apex dev-asja-embedInteropType dev-asja-fallbackPathResolver dev-asja-fix7084 dev-asja-fix7089-2 dev-asja-fix7335 dev-asja-fix7599 dev-asja-fix438211 dev-asja-fix656729 dev-asja-fixCLIPR dev-asja-fixChain dev-asja-fixCmdPerf dev-asja-fixDev16 dev-asja-fixE2ETests dev-asja-fixFuncTests2 dev-asja-fixRebuildLocKFile dev-asja-fixSDKResolver dev-asja-fixSlnCloseHang dev-asja-ngen2 dev-asja-perfLabSetUp dev-asja-revertAndyChange dev-asja-signedHashNewMachine dev-asja-signedHashNewMachine2 dev-asja-skipInvalidSignedPackage dev-asja-solutionMigrator dev-asja-tempFuncTests dev-asja-updateDotnetBranches dev-cmanu-perftests dev-cmanu-release-4.9.1-rtm-1 dev-dominoFire-7178-exitcode-wrongmessage dev-dtivel-add-plugin-end-to-end-tests dev-dtivel-filestream dev-dtivel-filestream2 dev-emgarten-cloneGraphs dev-gsch-stringupdate dev-hengliu-fixautocompleteresourcev3 dev-jainaashish-PathTooLongException dev-jainaashish-ShouldReadFromSettings_Improve dev-jainaashish-bugfix-ordinal-comparer dev-jainaashish-combinationsolver-fix dev-jainaashish-createproperties dev-jainaashish-deadlock dev-jainaashish-dev dev-jainaashish-fix/protocol-exception-task-cancelled dev-jainaashish-interactive dev-jainaashish-msbuild-15.8-for-core-tests dev-jver-pkgdeets dev-nkolev92-add-vswhere-for-builds dev-nkolev92-addXplatToCredentials dev-nkolev92-basicCredsOnly2 dev-nkolev92-cleanupVSdependencygraph dev-nkolev92-createproperties dev-nkolev92-dev dev-nkolev92-dop dev-nkolev92-extralogging dev-nkolev92-fix-solution-file-name dev-nkolev92-fixInteropBuild dev-nkolev92-floattests dev-nkolev92-islisted dev-nkolev92-licenseFiles dev-nkolev92-licenses dev-nkolev92-limit_restore_concurrency dev-nkolev92-list dev-nkolev92-listlocalfeed dev-nkolev92-movenetstandard dev-nkolev92-msbuild-15.8-for-core-tests dev-nkolev92-msbuild-current-toolset dev-nkolev92-netstandard-ilrepack dev-nkolev92-public-licenses-fsf dev-nkolev92-r492-fixSnupkgPack dev-nkolev92-regex dev-nkolev92-sdk-resolver-verbosity dev-nkolev92-versionrangenormalization dev-nkolev92-visualizer dev-nkolev92-w dev-pb-signShowStack dev-ragrawal-4.0rtmwithfix dev-ragrawal-4.0.1copylctfiles dev-ragrawal-build4.0rtm dev-ragrawal-fixpacknupkg dev-ragrawal-fixsymbolnupkgfileinclusion dev-ragrawal-morelogging dev-ragrawal-movenetstandard dev-ragrawal-overridecliversion dev-ragrawal-revertuidelayfix dev-rohit21agrawal-AllVersion_ignored_for_list_from_local_folder dev-rohit21agrawal-combinationsolver-fix dev-rohit21agrawal-fix_xmldoc dev-rohit21agrawal-interactive dev-rohit21agrawal-wasm-monoue-tfms dev-shishirh-symbols-metadata dev-sja-fixFuncTests dev-svetlana-perfTests dev-zhi-AsyncPerfTest dev-zhi-mono dev-zhi-nu1605 dev-zhi-nu1605.1 dev-zhili1208-combinationsolver-fix dev-zivkan-packagesconfiglockfile dev-zivkan-pclockfileaddinstalldelete dev karann-msft-patch-1 release-4.0.1-rtm release-4.7.0-rtm release-4.8.0-rtm release-4.8.1 release-4.9.0-preview2 release-4.9.0-preview3 release-4.9.0-preview4 release-4.9.0-preview5 release-4.9.0-rtm release-4.9.1-rtm release-4.9.2-rtm release-4.9.3-rtm release-netcore-2.1-rc revert-2371-dev-asja-fix654410 rrelyea-lockStringForLocalization
Nothing to show
Clone or download
Latest commit 87f433b Dec 11, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Changing the PR template to use "fixes" keyword to allow github to cl… Oct 20, 2017
.nuget Remove dev14 references in source code (#2341) Nov 14, 2018
build Fix linux build and remove irrelevant project references (#2556) Dec 10, 2018
keys fix apex and e2e tests on CI (#2315) Jun 25, 2018
scripts Upgrade the desktop framework to to net472 (#2544) Dec 4, 2018
setup Add NuGet.Credentials to the build tools SKU (#2365) Jul 25, 2018
src Make xplat always return false for CanVerifySignedPackages in Package… Dec 11, 2018
submodules updated license to cover all files in the repo Sep 20, 2017
test Signing: add test for expired primary and timestamp certificates with… Dec 11, 2018
.editorconfig Add BuildTools willow package (#1626) Aug 10, 2017
.gitattributes Added AppVeyor validation build configuration Jul 18, 2016
.gitignore Move test temp folder to .test/work (#1879) Dec 19, 2017
.gitmodules updated license to cover all files in the repo Sep 20, 2017 Update contribution guidelines Jan 11, 2016
LICENSE.txt Updating the license based on CELA recommendation. (#1802) Nov 10, 2017
NuGet.Config Updating to latest CPS package (#2480) Oct 17, 2018
NuGet.sln Move credentials to core (#2547) Dec 5, 2018
NuGet.vssettings Renaming vssettings file to NuGet.vssettings Mar 30, 2017 add hint of where to file bugs (#2150) Apr 18, 2018
build.ps1 removing SkipVS14 flag from build.ps1 and updating the readme (#1758) Oct 19, 2017 list package tests (#2413) Nov 12, 2018
configure.ps1 Updated validating VS toolset generic for different VS versions (#2551) Dec 6, 2018
runTests.ps1 Remove dev14 references in source code (#2341) Nov 14, 2018

NuGet logo

NuGet Client Tools

This repo contains the following clients:

Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

How to build NuGet client tools


Steps to build NuGet client tools

  1. Clone NuGet/NuGet.Client repository

    git clone

  2. Start PowerShell. CD into the cloned repository directory.

  3. Run configuration script


  4. Build with

    .\build.ps1 -SkipUnitTest

    Or Build and Unit test with


  5. Run all test-suites if inside Microsoft corpnet


In case you have build issues try cleaning the local repository using git clean -xdf and retry steps 3 and 4.

Notable build.ps1 switches

  • -SkipVS15 - skips building binaries targeting Visual Studio "15" (released as Visual Studio 2017)
  • -SkipUnitTest - skips running unit tests.
  • -Fast - runs minimal incremental build. Skips end-to-end packaging step.

Reveal all script parameters and switches by running

Get-Help .\build.ps1 -detailed

Build artifacts location

  • $(NuGetClientRoot)\Artifacts\VS15 - this folder will contain the Package Manager extension (NuGet.Tools.vsix) and NuGet command-line client application (nuget.exe)
  • $(NuGetClientRoot)\Artifacts\nupkgs - this folder will contain all our projects packages


File bugs on NuGet Home.


Unless explicitly stated otherwise all files in this repository are licensed under the License in the root repository