diff --git a/scripts/dotnet-cli-build/TestTargets.cs b/scripts/dotnet-cli-build/TestTargets.cs index abedc6663..b7c993a78 100644 --- a/scripts/dotnet-cli-build/TestTargets.cs +++ b/scripts/dotnet-cli-build/TestTargets.cs @@ -120,6 +120,8 @@ namespace Microsoft.DotNet.Cli.Build public static BuildTargetResult CleanTestPackages(BuildTargetContext c) { Rmdir(Path.Combine(Dirs.NuGetPackages, "dotnet-hello")); + Rmdir(Path.Combine(Dirs.NuGetPackages, "dotnet-portable")); + Rmdir(Path.Combine(Dirs.NuGetPackages, ".tools", "dotnet-portable")); return c.Success(); }