Core client libraries for NuGet Services
C# JavaScript PowerShell CSS C++ ASP Other
Latest commit f707364 Jan 13, 2017 @rohit21agrawal rohit21agrawal committed on GitHub added msbuild integrations tests for pack command (#1116)
* add test infra for pack integration tests

* added msbuild integration tests for pack command
Permalink
Failed to load latest commit information.
.nuget Removing Core.V2 dependencies from the NuGet.exe List Command (#1088) Jan 9, 2017
Nupkgs Fix typo in Nupkgs/readme.txt Jul 28, 2016
Shared Include input PackageSpec in assets (lock) file under property "proje… Nov 21, 2016
build Merge two versions of Install-DotnetCLI cmdlet Jan 5, 2017
scripts added msbuild integrations tests for pack command (#1116) Jan 14, 2017
src Replace `ServiceLocator` calls with MEF Jan 13, 2017
submodules Updating submodules Mar 15, 2016
test added msbuild integrations tests for pack command (#1116) Jan 14, 2017
tools/compiler/preprocess Update NuGet.Commands build time dependencies for DNX RC1 Dec 11, 2015
.editorconfig Provide formatting/settings to help contributors (#1026) Nov 16, 2016
.gitattributes Added AppVeyor validation build configuration Jul 18, 2016
.gitignore Adding code to download newer version of cli for testing (#1090) Jan 4, 2017
.gitmodules Squashed commit of the following: Feb 26, 2016
.teamcity.properties Upgrade dev branding to RTM Jan 9, 2017
CONTRIBUTING.md Update contribution guidelines Jan 11, 2016
LICENSE.txt Updating build scripts Sep 16, 2015
NuGet.Clients.sln Removed StandaloneUI Dec 20, 2016
NuGet.Clients.vssettings Provide formatting/settings to help contributors (#1026) Nov 16, 2016
NuGet.Config Removed cli-deps Dec 9, 2016
NuGet.Core.sln added msbuild integrations tests for pack command (#1116) Jan 14, 2017
NuGet.ruleset Fixing some bug in the build script, Cleaning project files with old … Sep 29, 2015
README.md Updated README.md with build instructions Nov 9, 2016
appveyor.yml Update NuGet version to 4.0.0 (was 3.6.0) (#947) Oct 20, 2016
build.ps1 add rc3 to build.ps1 configuration Nov 29, 2016
build.sh Adding code to download newer version of cli for testing (#1090) Jan 4, 2017
configure.ps1 Merge two versions of Install-DotnetCLI cmdlet Jan 5, 2017
runTests.ps1 Trim all string values and wrap MSBuild items in PackTask (#1020) Nov 16, 2016

README.md

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

  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