Updated tests to the new appropriate TFM 1.1, since we need a shared runtime besides 2.0 in the new distros. Once we have vstest for 2.0 then we won't need it anymore.
This commit is contained in:
parent
cfd0874c96
commit
bb178a5133
80 changed files with 172 additions and 186 deletions
|
@ -220,7 +220,7 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
.Execute("publish -c Debug")
|
||||
.Should().Pass();
|
||||
|
||||
var outputDir = projectDirectory.GetDirectory("bin", "Debug", "netcoreapp1.0");
|
||||
var outputDir = projectDirectory.GetDirectory("bin", "Debug", "netcoreapp1.1");
|
||||
outputDir.Should().Exist()
|
||||
.And.HaveFiles(new[]
|
||||
{
|
||||
|
@ -233,7 +233,7 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
Directory.Exists(Path.Combine(outputDir.FullName, "ExcludeThis1.txt")).Should().BeFalse();
|
||||
Directory.Exists(Path.Combine(outputDir.FullName, "ExcludeThis2.txt")).Should().BeFalse();
|
||||
|
||||
var publishDir = projectDirectory.GetDirectory("bin", "Debug", "netcoreapp1.0", "publish");
|
||||
var publishDir = projectDirectory.GetDirectory("bin", "Debug", "netcoreapp1.1", "publish");
|
||||
publishDir.Should().Exist()
|
||||
.And.HaveFiles(new[]
|
||||
{
|
||||
|
@ -431,9 +431,9 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
.Execute("build -c Debug")
|
||||
.Should().Pass();
|
||||
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.0"))
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.1"))
|
||||
{
|
||||
// running the app requires netcoreapp1.0
|
||||
// running the app requires netcoreapp1.1
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -489,9 +489,9 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
.Execute("build -c Debug")
|
||||
.Should().Pass();
|
||||
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.0"))
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.1"))
|
||||
{
|
||||
// running the app requires netcoreapp1.0
|
||||
// running the app requires netcoreapp1.1
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -546,9 +546,9 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
.Execute("build -c Debug")
|
||||
.Should().Pass();
|
||||
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.0"))
|
||||
if (!EnvironmentInfo.HasSharedFramework("netcoreapp1.1"))
|
||||
{
|
||||
// running the app requires netcoreapp1.0
|
||||
// running the app requires netcoreapp1.1
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue