.NET5 Globalization Problem, ICU library missing

If I try to start a .NET5 application from Visual Studio Code in Debug Mode, I get the error “Process terminated. Couldn’t find a valid ICU package installed on the system.”
Where can I find a valid ICU library for this board support package and how can I install it?

Verdin-iMX8MP
Dahlia Carrier Board
Toradex Embedded Linux Reference Minimal Image, 5.4.0+build.11 (2021-10-01)

Toradex Embedded Linux Reference Minimal Image is the starting point
You can add any packages

sometimes problem is from ENV from Visual Studio Code, plase try run app from linux console

Probably the environment of Visual Studio Code is the cause of the exception. The error occurs only when using “Start Debugging”, but not when using “Start Without Debugging”.
However, I would like to be able to debug my application.
I was hoping this would be possible without having to build my own board support package first.

Hi @stefan.baumgart ,

Thank you for using the community.

I personally would join the suggestion from MariusM. Try to start from there and let us know if you run into any issues.

Best Regards
Kevin

The additional line CORE_IMAGE_EXTRA_INSTALL += “icu” in local.conf fixes the problem.
Debugging with Visual Studio Code is now possible.