turn on multi tfm test
This commit is contained in:
parent
481aebd18a
commit
1c1f4c462f
1 changed files with 3 additions and 4 deletions
|
@ -123,8 +123,7 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
}
|
||||
|
||||
[Theory]
|
||||
// TODO: Enable this when X-Targeting is in
|
||||
// [InlineData("TestLibraryWithMultipleFrameworks")]
|
||||
[InlineData("TestLibraryWithMultipleFrameworks")]
|
||||
public void It_migrates_projects_with_multiple_TFMs(string projectName)
|
||||
{
|
||||
var projectDirectory =
|
||||
|
@ -531,12 +530,12 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
|
||||
if (projectName != null)
|
||||
{
|
||||
command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true")
|
||||
command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
|
||||
.Should().Pass();
|
||||
}
|
||||
else
|
||||
{
|
||||
command.Execute("/p:SkipInvalidConfigurations=true")
|
||||
command.Execute("/p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
|
||||
.Should().Pass();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue