Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it.

This commit is contained in:
Livar Cunha 2017-04-06 13:43:26 -07:00
parent 95a367136c
commit 772e838ff8
16 changed files with 203 additions and 68 deletions

View file

@ -18,6 +18,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
private string _builtDotnet;
private string _nugetPackages;
private string _stage2Sdk;
private string _stage2WithLegacyRuntimeDirectory;
private string _testPackages;
private string _pjDotnet;
@ -82,6 +83,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
public string NugetPackages => _nugetPackages;
public string PjDotnet => _pjDotnet;
public string Stage2Sdk => _stage2Sdk;
public string Stage2WithLegacyRuntimeDirectory => _stage2WithLegacyRuntimeDirectory;
public string TestPackages => _testPackages;
public RepoDirectoriesProvider(
@ -97,6 +99,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
_nugetPackages = nugetPackages ?? Path.Combine(RepoRoot, ".nuget", "packages");
_pjDotnet = pjDotnet ?? GetPjDotnetPath();
_stage2Sdk = Directory.EnumerateDirectories(Path.Combine(_artifacts, "stage2", "sdk")).First();
_stage2WithLegacyRuntimeDirectory = Path.Combine(_artifacts, "stage2WithLegacyRuntime");
_testPackages = Path.Combine(RepoRoot, "artifacts", "testpackages", "packages");
}