dotnet / dotnet/cli-lab

dotnet-core-uninstall: Manage user context too? `%LOCALAPPDATA%\Microsoft\dotnet`

Open
#338 0 comments 0 reactions 0 assignees View on GitHub
Area-Uninstall-Tool
Dominant language
C#
Stars
774
Forks
72
Avg merge
1d 23h
Merged PRs (30d)
2

Description

## Problem

The dotnet-install script defaults to installing to `%LOCALAPPDATA%\Microsoft\dotnet`.

*

`dotnet-core-uninstall` does not seem to have the concept of dotnet runtimes and SDKs installed in user context.

```pwsh
PS > dotnet-core-uninstall --version

1.7.550802+25e91f1d39ad446131c0fe4bc998c5a33e766773

PS > dotnet-core-uninstall list --help

list:
List .NET Core SDKs or Runtimes that can be removed with this tool.

Usage:
dotnet-core-uninstall list [options]

Options:
--aspnet-runtime List ASP.NET Core Runtimes.
--hosting-bundle List .NET Core Runtime & Hosting Bundles.
--runtime List .NET Core Runtimes that can be uninstalled.
--sdk List .NET Core SDKs that can be uninstalled.
-v, --verbosity Set the verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
--x64 List x64 .NET Core SDKs or Runtimes.
--x86 List x86 .NET Core SDKs or Runtimes.
-?, -h, --help Show help and usage information

PS >
```

## Ask

Maybe this should be added? Maybe as a switch? `--scope `.

## Related

*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.