React to Testing changes
This commit is contained in:
parent
56256a013b
commit
a20b3e6e37
|
|
@ -238,9 +238,9 @@ namespace Microsoft.AspNet.Server.Testing
|
|||
protected void AddEnvironmentVariablesToProcess(ProcessStartInfo startInfo)
|
||||
{
|
||||
var environment =
|
||||
#if NET451
|
||||
#if DNX451
|
||||
startInfo.EnvironmentVariables;
|
||||
#elif DOTNET5_4
|
||||
#elif DNXCORE50
|
||||
startInfo.Environment;
|
||||
#endif
|
||||
|
||||
|
|
@ -260,10 +260,10 @@ namespace Microsoft.AspNet.Server.Testing
|
|||
}
|
||||
}
|
||||
|
||||
#if DNX451 || NET451
|
||||
#if DNX451
|
||||
protected void SetEnvironmentVariable(System.Collections.Specialized.StringDictionary environment, string name, string value)
|
||||
{
|
||||
#elif DNXCORE50 || DOTNET5_4
|
||||
#elif DNXCORE50
|
||||
protected void SetEnvironmentVariable(System.Collections.Generic.IDictionary<string, string> environment, string name, string value)
|
||||
{
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {
|
||||
"dnx451": {
|
||||
"dependencies": {
|
||||
"Microsoft.Web.Administration": "7.0.0"
|
||||
},
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
"System.Xml": ""
|
||||
}
|
||||
},
|
||||
"dotnet5.4": {
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"System.Diagnostics.Process": "4.0.0-beta-*",
|
||||
"System.IO.FileSystem": "4.0.1-beta-*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue