Skip to content

a-carvallo/NuGet.Client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet logo


NuGet Client Tools

This repo contains the following clients:

Build Status

Build status

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 [email protected] 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

  5. Run unit-tests

    .\runTests.ps1 -SkipFuncTests

  6. 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

  • -SkipVS14 - skips building binaries targeting Visual Studio "14" (released as Visual Studio 2015)
  • -SkipVS15 - skips building binaries targeting Visual Studio "15"

Note that if only one of Visual Studio 2015 (VS14) or Visual Studio 2017 (VS15) is installed, neither of the above switches is necessary - the script will build according to the installed version.

  • -SkipXProj - skips building the NuGet.Core XProj projects.
  • -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 - this folder will contain the Package Manager extension (NuGet.Tools.vsix) and NuGet command-line client application (nuget.exe)
  • $(NuGetClientRoot)\Nupkgs - this folder will contain all our projects packages

About

Core client libraries for NuGet Services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 79.9%
  • JavaScript 12.3%
  • PowerShell 3.5%
  • CSS 2.6%
  • C++ 1.2%
  • Classic ASP 0.3%
  • Other 0.2%