Merge branch 'benaadams/LibuvCopier-compile-issue' into dev

This commit is contained in:
Stephen Halter 2015-11-04 10:58:58 -08:00
commit 3e6df1e685
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") ??