Fix binding-redirects.Tests to work with net46.

This commit is contained in:
Eric Erhardt 2016-10-11 18:30:15 -05:00
parent acbef441b1
commit 742d48b596
3 changed files with 6 additions and 3 deletions

View file

@ -237,7 +237,7 @@ namespace Microsoft.DotNet.Tests
public void Tool_Command_Runs_Executable_Dependency_For_App_With_Config()
{
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithConfigProjectRoot }
.Execute("desktop-binding-redirects", "net451", "");
.Execute("desktop-binding-redirects", "net46", "");
commandResult.Should().Pass();
}
@ -246,7 +246,7 @@ namespace Microsoft.DotNet.Tests
{
var appDirectory = Path.GetDirectoryName(_appWithoutConfigProjectRoot);
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithoutConfigProjectRoot }
.Execute("desktop-binding-redirects", "net451", "");
.Execute("desktop-binding-redirects", "net46", "");
commandResult.Should().Pass();
}
}

View file

@ -10,7 +10,7 @@ namespace Microsoft.DotNet.Tests
{
public class TestSetupFixture : TestBase
{
private const string Framework = "net451";
private const string Framework = "net46";
private const string Config = "Debug";
private const string AppWithConfig = "AppWithRedirectsAndConfig";
private const string AppWithoutConfig = "AppWithRedirectsNoConfig";

View file

@ -12,6 +12,9 @@
"net46": {
"frameworkAssemblies": {
"System.Configuration": ""
},
"dependencies": {
"System.Console": "4.0.0"
}
}
},