'Dotnet tool restore' doesn't update toolResolverCache file #20043
Open
Description
opened on Aug 24, 2021
I have two folders. Each folder has dotnet-tools.json and NuGet.config where defined place for packages in the folder.
I call dotnet tool restore
from first folder. Package is downloaded into first folder and its path is saved to file in c:\Users<user>.dotnet\toolResolverCache\1\
Then I delete first folder and call dotnet tool restore
from second folder. Package is downloaded to second folder, but in toolResolverCache remains path to first folder. Tool can't be runned, it asks for restore.
Activity