clear nuget cache and restore packages code example Example: dotnt clear cache dotnet nuget locals all --clear