Fix binding-redirects.Tests to work with net46.
This commit is contained in:
parent
acbef441b1
commit
742d48b596
3 changed files with 6 additions and 3 deletions
|
@ -237,7 +237,7 @@ namespace Microsoft.DotNet.Tests
|
||||||
public void Tool_Command_Runs_Executable_Dependency_For_App_With_Config()
|
public void Tool_Command_Runs_Executable_Dependency_For_App_With_Config()
|
||||||
{
|
{
|
||||||
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithConfigProjectRoot }
|
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithConfigProjectRoot }
|
||||||
.Execute("desktop-binding-redirects", "net451", "");
|
.Execute("desktop-binding-redirects", "net46", "");
|
||||||
commandResult.Should().Pass();
|
commandResult.Should().Pass();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ namespace Microsoft.DotNet.Tests
|
||||||
{
|
{
|
||||||
var appDirectory = Path.GetDirectoryName(_appWithoutConfigProjectRoot);
|
var appDirectory = Path.GetDirectoryName(_appWithoutConfigProjectRoot);
|
||||||
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithoutConfigProjectRoot }
|
var commandResult = new DependencyToolInvokerCommand { WorkingDirectory = _appWithoutConfigProjectRoot }
|
||||||
.Execute("desktop-binding-redirects", "net451", "");
|
.Execute("desktop-binding-redirects", "net46", "");
|
||||||
commandResult.Should().Pass();
|
commandResult.Should().Pass();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace Microsoft.DotNet.Tests
|
||||||
{
|
{
|
||||||
public class TestSetupFixture : TestBase
|
public class TestSetupFixture : TestBase
|
||||||
{
|
{
|
||||||
private const string Framework = "net451";
|
private const string Framework = "net46";
|
||||||
private const string Config = "Debug";
|
private const string Config = "Debug";
|
||||||
private const string AppWithConfig = "AppWithRedirectsAndConfig";
|
private const string AppWithConfig = "AppWithRedirectsAndConfig";
|
||||||
private const string AppWithoutConfig = "AppWithRedirectsNoConfig";
|
private const string AppWithoutConfig = "AppWithRedirectsNoConfig";
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
"net46": {
|
"net46": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Configuration": ""
|
"System.Configuration": ""
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"System.Console": "4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue