Supporting locals command in dotnet cli and VS extension
Ankit Mishra edited this page Aug 8, 2016
·
1 revision
Pages 155
Home
Contributing
Specs
Incubation
Reviewing
- Centrally-managing-NuGet-package-versions
- Package Applicability
- dotnet list package --vulnerable
- Machine-readable output for dotnet list package
- Support Package Renames
- Advanced Search on NuGet.org
Reviewed
Implemented
- Enhanced package upload workflow
- Register package signing certificates
- Organizations on NuGet.org
- 2 Factor Auth for NuGet.org sign in
- Add nuget sources command to the dotnet CLI
- Author Package Signing
- Backporting PC to msbuild restore
- Deprecate packages
- Dotnet list package
- Enable repeatable package restore using lock file
- NuGet Client Package Debugging
- NuGet Package Debugging & Symbols Improvements
- NuGet Package Identity Verification
- NuGet Package Signing Client Policy
- NuGet Sign Command
- NuGet Verify Command
- Storing trusted repository
- Package Signatures Technical Details
- Package signing
- Packages.config SHA Validation
- Packaging Icon, License and Documentation within the nupkg
- Repository Signatures and Countersignatures Technical Specification
- Repository Signatures
- Show outdated packages
- Symbols Package Upload and Delete Workflow
Templates
Clone this wiki locally
Problem
Currently we do not have a cross platform implementation of nuget locals command.
Who is the customer?
nuget cli users currently do not have a way to clear nuget cache using dotnet cli.
Evidence
Working on it.
Solution
Add a dotnet locals command to the dotnet cli. I am currently looking into what behavior will be supported. For now assuming that all the behavior stays the same as before, except there will be no option for clearing package-cache, since it is no longer used.
I will update this doc as I investigate further.
Usage
dotnet nuget locals [options]
Locals Command Options -
| Clear | Clear the resources in the specified cache location |
| List | List the selected local resources or cache locations |
| Help | help |
| Verbosity | Display the amount of details in the output: normal, quiet, detailed. |
Example
dotnet nuget locals <all | http-cache | global-packages> -clear
Questions
- What is the difference between running locals from CLI or from VS extension?
- What is the impact of running locals from VS extension on the open solutions?