diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 4a5ebb324e5eb..a71aa547e9381 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -160,14 +160,6 @@ - - - - - - - - <_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789")) <_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))