Merge branch 'benaadams/LibuvCopier-compile-issue' into dev
This commit is contained in:
commit
3e6df1e685
|
|
@ -66,7 +66,7 @@ namespace Microsoft.AspNet.Server.Kestrel.LibuvCopier
|
||||||
#if DNX451
|
#if DNX451
|
||||||
return Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
|
return Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
|
||||||
#else
|
#else
|
||||||
var runtimeEnv = PlatformServices.Default.Runtime;
|
var runtimeEnv = Extensions.PlatformAbstractions.PlatformServices.Default.Runtime;
|
||||||
if (runtimeEnv.OperatingSystem == "Windows")
|
if (runtimeEnv.OperatingSystem == "Windows")
|
||||||
{
|
{
|
||||||
return Environment.GetEnvironmentVariable("USERPROFILE") ??
|
return Environment.GetEnvironmentVariable("USERPROFILE") ??
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue