icu-dotnet icon indicating copy to clipboard operation
icu-dotnet copied to clipboard

`NativeMethodHelpers.GetIcuVersionInfoForNetCoreOrWindows` doesn't confine version

Open ermshiperete opened this issue 4 years ago • 0 comments

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.

ermshiperete avatar Dec 18 '20 16:12 ermshiperete