Dotnet tool restore doesn't work after moving to Dev Drive
After moving to a Windows Dev Drive, dotnet tool restore stops working because your tools are cached in your user profile. Delete the %USERPROFILE%\.dotnet\toolResolverCache folder and run dotnet tool restore again — the tools are restored and cached in the new Dev Drive location.
After you have followed the guide on how to setup a Windows Dev Drive you might have noticed that your dotnet tools are not working anymore. This is because the tools are cached in the user profile folder.
More specifically, the tools are cached in the %USERPROFILE%\.dotnet\toolResolverCache folder.
Simply delete that folder and run dotnet tool restore again. The tools will be restored and cached in the new location. (Which is now on your Dev Drive)
This post is licensed under CC BY 4.0 by the author.