.NET Uninstall tool - issue

Mark Marco 25 Reputation points
2024-10-23T17:17:21.94+00:00

Hello,

I'm getting the following error while running dotnet-core-uninstall remove --runtime --all-but-latest command:

User's image

I have dotnet-core-uninstall-1.7.521001.msi installed from https://github.com/dotnet/cli-lab/releases prior running above command.

Please advise.

Thanks,

Mark

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,944 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,172 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JasonPan - MSFT 5,991 Reputation points Microsoft Vendor
    2024-10-24T06:21:53.2466667+00:00

    Hi @Mark Marco,

    Please check whether there is any ·{1aa410b3-fc9c-4b29-8e0d-84542b53e7f6}· folder in the path C:\ProgramData\Package Cache ?

    After investigating the issue, I've found that if you use a tool to clean up your disk recently, there is a chance that you will empty the contents of this folder, which will cause this error. Here's the result of my test, and it's the same as yours.

    User's image

    So we have to uninstall it manually in Control Pannel -> Program -> Programs and Features.

    User's image


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Jason


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.