Skip to content

Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)

License

Notifications You must be signed in to change notification settings

joeltankam/NuGet.Client

 
 

Repository files navigation

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 [email protected] with any additional questions or comments.

How to build NuGet client tools

Prerequisites

  • Visual Studio 2017 with following workloads:
    • .NET desktop development
    • Visual Studio extension development.
    • .NET Core Cross Platform Development
  • Windows 10 SDK
  • Git
  • Windows Powershell v3.0+

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

  • -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

About

Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.6%
  • PowerShell 2.7%
  • C++ 0.9%
  • Rich Text Format 0.4%
  • Classic ASP 0.2%
  • HTML 0.1%
  • Other 0.1%