4.22 VS2019 GenerateProjectFiles.bat fails

I have had the same issue with 4.22.3, the Developer Pack with 4.6.2 solved my issue. I had already installed 4.6.2 previously, However this version in the link fixed it.