From 8fe6f3959f3f96a23a245a780f60f00b517e88a0 Mon Sep 17 00:00:00 2001 From: Shreyas Jejurkar Date: Fri, 20 Nov 2020 22:40:57 +0530 Subject: [PATCH] Revert "Fix parsed RID condition for VS (#44998)" This reverts commit 8df6fe7cd5a3ed80b5a37559b5606ebcf4c95265. --- eng/Configurations.props | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/Configurations.props b/eng/Configurations.props index 09814ae0c05e35..c4bd905ddc6278 100644 --- a/eng/Configurations.props +++ b/eng/Configurations.props @@ -74,8 +74,7 @@ <_runtimeOS>$(RuntimeOS) <_parseDistroRid>$(__DistroRid) - <_parseDistroRid Condition="'$(_parseDistroRid)' == '' and '$(MSBuildRuntimeType)' == 'core'">$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) - <_parseDistroRid Condition="'$(_parseDistroRid)' == '' and '$(MSBuildRuntimeType)' != 'core'">win-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLowerInvariant) + <_parseDistroRid Condition="'$(_parseDistroRid)' == ''">$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) <_distroRidIndex>$(_parseDistroRid.LastIndexOfAny("-")) <_runtimeOS Condition="'$(_runtimeOS)' == ''">$(_parseDistroRid.SubString(0, $(_distroRidIndex)))