Clean the dotnet-portable test nuget packages during the build, so the new ones always get used during tests.

This commit is contained in:
Eric Erhardt 2016-03-23 10:48:51 -05:00 committed by Bryan Thornbury
parent 07f3d60355
commit 7486b45eeb

View file

@ -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();
}