Clean the dotnet-portable test nuget packages during the build, so the new ones always get used during tests.
This commit is contained in:
parent
07f3d60355
commit
7486b45eeb
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue