I have been reading MDK5 documentation and testing different projects for several days. I got an impression that better stay with MDK4 if you have ongoing projects developed under MDK4, which is my case. Otherwise it will be a nightmare.
When Keil does larger rewrites, they tend to release too early.
So it's always best to not depend on the latest versions actually working.