This repo contains the following clients:
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.
- Visual Studio 2017
with following workloads:
- .NET desktop development
- Desktop development with C++
- Visual Studio extension development.
- Windows 10 SDK
- Git
- Windows Powershell v3.0+
- .NET Core SDK 1.0.5
-
Clone NuGet/NuGet.Client repository
git clone https://github.com/NuGet/NuGet.Client
-
Start PowerShell. CD into the cloned repository directory.
-
Run configuration script
.\configure.ps1
-
Build with
.\build.ps1 -SkipUnitTest
Or Build and Unit test with
.\build.ps1
-
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.
-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
$(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