Skip to content

'Dotnet tool restore' doesn't update toolResolverCache file #20043

Open
@RomanTimv

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions