From 7486b45eeb388953bb6e613ca6dda0d4fb47a8dc Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Wed, 23 Mar 2016 10:48:51 -0500 Subject: [PATCH] Clean the dotnet-portable test nuget packages during the build, so the new ones always get used during tests. --- scripts/dotnet-cli-build/TestTargets.cs | 2 ++ 1 file changed, 2 insertions(+) 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(); }