Description
When running dotnet test with a reference to the Microsoft.ICU.ICU4C.Runtime NuGet package version 68.2.0.6 and the <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" /> item in the .csproj file with version 6.0.100-rc.1.21420.39 of the .NET SDK, the test process fails to run with the error below:
Testhost process exited with error: Cannot get symbol ubrk_close_68 from libicui18n
Error: 127
. Please check the diagnostic logs for more information.
To replicate the issue, clone https://github.com/martincostello/dotnet-test-icu-repro and run dotnet test with version 6.0.100-rc.1.21420.39 of the .NET SDK.
Configuration
dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.100-rc.1.21420.39
Commit: 742b676ffb
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.100-rc.1.21420.39\
Host (useful for support):
Version: 6.0.0-rc.1.21420.15
Commit: 236e490d4f
Regression?
Yes, the issue was not present at least as late as .NET SDK version 6.0.100-rc.1.21406.22.