4.24 GenerateProjectFiles error with Visual Studio 2019

To solve this problem you need to install the components shown in the picture.

It worked in my case (4.25)