Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric St. John <ericstj@microsoft.com>2017-02-03 22:21:16 +0300
committerEric St. John <ericstj@microsoft.com>2017-02-03 23:30:21 +0300
commit23a6adc2ba037463432d7bc2244c73f47309ed1e (patch)
tree18513dfa6b97ed75e7606d0aaaf6affe007152c7 /external/runtime
parentc7d1a9209c06af482eb4001ba694b4778636b13f (diff)
Use RunningOnUnix instead of OSEnvironment
Diffstat (limited to 'external/runtime')
-rw-r--r--external/runtime/runtime.depproj4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/runtime/runtime.depproj b/external/runtime/runtime.depproj
index fd50c9cfe5..0694fa592d 100644
--- a/external/runtime/runtime.depproj
+++ b/external/runtime/runtime.depproj
@@ -3,8 +3,8 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<!-- support cross-targeting by choosing a RID to restore when running on a different machine that what we're build for -->
- <NugetRuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT' AND '$(OSEnvironment)' != 'Windows_NT'">win7-x64</NugetRuntimeIdentifier>
- <NugetRuntimeIdentifier Condition="'$(OSGroup)' == 'Unix' AND '$(OSEnvironment)' == 'Windows_NT'">ubuntu.14.04-x64</NugetRuntimeIdentifier>
+ <NugetRuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT' AND '$(RunningOnUnix)' == 'true'">win7-x64</NugetRuntimeIdentifier>
+ <NugetRuntimeIdentifier Condition="'$(OSGroup)' == 'Unix' AND '$(RunningOnUnix)' != 'true'">ubuntu.14.04-x64</NugetRuntimeIdentifier>
<!-- WORKAROUND: Force external packages to be restored for x64 until arm packages are fully broughtup-->
<NugetRuntimeIdentifier Condition="'$(ArchGroup)' == 'arm'">$(RuntimeOS)-x64</NugetRuntimeIdentifier>
</PropertyGroup>