Skip to content

Commit

Permalink
Revert "Fix parsed RID condition for VS (dotnet#44998)"
Browse files Browse the repository at this point in the history
This reverts commit 8df6fe7.
  • Loading branch information
ShreyasJejurkar authored Nov 20, 2020
1 parent 2f18501 commit 8fe6f39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eng/Configurations.props
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
<_runtimeOS>$(RuntimeOS)</_runtimeOS>

<_parseDistroRid>$(__DistroRid)</_parseDistroRid>
<_parseDistroRid Condition="'$(_parseDistroRid)' == '' and '$(MSBuildRuntimeType)' == 'core'">$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)</_parseDistroRid>
<_parseDistroRid Condition="'$(_parseDistroRid)' == '' and '$(MSBuildRuntimeType)' != 'core'">win-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLowerInvariant)</_parseDistroRid>
<_parseDistroRid Condition="'$(_parseDistroRid)' == ''">$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)</_parseDistroRid>
<_distroRidIndex>$(_parseDistroRid.LastIndexOfAny("-"))</_distroRidIndex>

<_runtimeOS Condition="'$(_runtimeOS)' == ''">$(_parseDistroRid.SubString(0, $(_distroRidIndex)))</_runtimeOS>
Expand Down

0 comments on commit 8fe6f39

Please sign in to comment.