Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uninstalling RC1 leave sdk directory causing Dotnet to be in non-working state

See original GitHub issue

Steps to reproduce

  • install dotnet sdk RC1 on Windows.
  • run some dotnet commands like dotnet build so that it starts the dotnet hosts.
  • run the uninstaller (you will need to select the installer to require a reboot because it fails to close the dotnet hosts.)
  • once done you can try dotnet commands but will fail with:

Expected behavior

Should just work.

Actual behavior

Found dotnet SDK, but did not find dotnet.dll at [C:\Program Files\dotnet\sdk\2.1.300-rc1-008673\dotnet.dll]

it can then be fixed by deleting the directory.

Environment data

dotnet --info output:


The uninstaller needs to be able to shutdown the hosts before running.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

jhudsoncedaroncommented, May 10, 2019

Issue reoccurs on .NET 3.0 preview5; everything was removed except the folder itself.

mjjamescommented, Sep 12, 2018

issue still occurs, i uninstalled 2.1.500-preview-009297 but the directory was left empty, manual deletion fixed it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove the .NET runtime and SDK
This article describes how to uninstall .NET. You'll need to determine which versions of the .NET Runtime and SDK are currently installed, ...
Read more >
dotnet-core-uninstall not working from command line
1 Answer. dotnet-core-uninstall is a separate experimental tool, not part of the . NET Core SDK. You need to download from its Github...
Read more >
Support for the Upcoming .NET SDK 6.0
NET SDK 6.0 even though I uninstalled it. Evidently, even though the SDK has been uninstalled, it has left some trace that Rider...
Read more >
Fix list for IBM WebSphere Application Server V8.5
IBM WebSphere Application Server provides periodic fixes for the base and Network Deployment editions of release V8.5. The following is a complete listing ......
Read more >
Fixed - Fixed error when deleting internal user with extra properties. Fixed - Bug that caused the launch dropdown button to malfunction if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found