diff --git a/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs b/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs index 643c2d8310..f2a07b24fd 100644 --- a/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs +++ b/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs @@ -39,15 +39,15 @@ namespace Microsoft.AspNet.Server.Testing { get { - if (TestPlatformHelper.IsLinux) + if (PlatformServices.Default.Runtime.OperatingSystemPlatform == Platform.Linux) { return "linux"; } - else if (TestPlatformHelper.IsMac) + else if (PlatformServices.Default.Runtime.OperatingSystemPlatform == Platform.Darwin) { return "darwin"; } - else if (TestPlatformHelper.IsWindows) + else if (PlatformServices.Default.Runtime.OperatingSystemPlatform == Platform.Windows) { return "win"; }