icu-dotnet
icu-dotnet copied to clipboard
`NativeMethodHelpers.GetIcuVersionInfoForNetCoreOrWindows` doesn't confine version
If the output directory contains multiple versions of ICU, e.g. icu54.dll and icu59.dll, but the client calls Wrapper.ConfineIcuVersions
to select version 54, icu.net still tries to use ICU 59.
This is caused by NativeMethodHelpers.GetIcuVersionInfoForNetCoreOrWindows
which takes the highest version it can find.