Fix LibuvCopier DNXCore compile error

This commit is contained in:
Ben Adams 2015-10-31 01:53:24 +00:00
parent facf3ad0da
commit dd7c4b374d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ namespace Microsoft.AspNet.Server.Kestrel.LibuvCopier
#if DNX451
return Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
#else
var runtimeEnv = PlatformServices.Default.Runtime;
var runtimeEnv = Extensions.PlatformAbstractions.PlatformServices.Default.Runtime;
if (runtimeEnv.OperatingSystem == "Windows")
{
return Environment.GetEnvironmentVariable("USERPROFILE") ??