Core client libraries for NuGet Services
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
.github Changing the PR template to use "fixes" keyword to allow github to cl… Oct 20, 2017
.nuget Updating Loc validator to 2.0.1 to consume a repository signed package ( Aug 10, 2018
build update package description (#2411) Sep 4, 2018
keys fix apex and e2e tests on CI (#2315) Jun 25, 2018
scripts Updating Loc validator to 2.0.1 to consume a repository signed package ( Aug 10, 2018
setup Add NuGet.Credentials to the build tools SKU (#2365) Jul 25, 2018
src Obsolete Settings APIs should be able to create SourceItems (#2427) Sep 18, 2018
submodules updated license to cover all files in the repo Sep 20, 2017
test Obsolete Settings APIs should be able to create SourceItems (#2427) Sep 18, 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
CONTRIBUTING.md Update contribution guidelines Jan 11, 2016
LICENSE.txt Updating the license based on CELA recommendation. (#1802) Nov 10, 2017
NuGet.Config Add TargetingPack and enable net46 builds for source-build. (#2287) Jul 30, 2018
NuGet.sln Refactoring ErrorList into NuGet.VisualStudio.Common (#2340) Jul 17, 2018
NuGet.vssettings Renaming vssettings file to NuGet.vssettings Mar 30, 2017
README.md README.md: 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
build.sh Build improvements Nov 21, 2017
configure.ps1 fix pack ilmerge to use older sdk (#1671) Aug 26, 2017
runTests.ps1 Rebranding dev branch to 4.3.0-rtm (#1537) Jul 7, 2017

README.md

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 opencode@microsoft.com with any additional questions or comments.

How to build NuGet client tools

Prerequisites

Steps to build NuGet client tools

  1. Clone NuGet/NuGet.Client repository

    git clone https://github.com/NuGet/NuGet.Client

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

  3. Run configuration script

    .\configure.ps1

  4. Build with

    .\build.ps1 -SkipUnitTest

    Or Build and Unit test with

    .\build.ps1

  5. Run all test-suites if inside Microsoft corpnet

    .\runTests.ps1

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

Feedback

File bugs on NuGet Home.

License

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