diff --git a/src/dotnet-evergreen/Tools.cs b/src/dotnet-evergreen/Tools.cs index 92f983d..6cf2ea0 100644 --- a/src/dotnet-evergreen/Tools.cs +++ b/src/dotnet-evergreen/Tools.cs @@ -63,10 +63,10 @@ public Tools(string dotnet, string packageFeed = DefaultPackageFeed) } public bool Install(string packageId) - => Process.Start(dotnet, "tool install -g " + feedArg + packageId).WaitForExitCode() == 0 && Refresh(); + => Process.Start(dotnet, "tool install -g --no-cache " + feedArg + packageId).WaitForExitCode() == 0 && Refresh(); public bool Update(string packageId) - => Process.Start(dotnet, "tool update -g " + feedArg + packageId).WaitForExitCode() == 0 && Refresh(); + => Process.Start(dotnet, "tool update -g --no-cache " + feedArg + packageId).WaitForExitCode() == 0 && Refresh(); public async Task InstallOrUpdateAsync(string packageId) {