Skip to content

Supporting locals command in dotnet cli and VS extension

Ankit Mishra edited this page Aug 8, 2016 · 1 revision

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

  1. What is the difference between running locals from CLI or from VS extension?
  2. What is the impact of running locals from VS extension on the open solutions?

Contributing

What's Being Worked On?

Check out the proposals in the accepted & proposed folders on the repository, and active PRs for proposals being discussed today.

Common Problems

Clone this wiki locally