Visual Studio 2017 generator does not work with Visual Studio 2019
In Visual Studio 2019 the install location for msbuild has changed to "vsinstalldirectory\MSBuild\Current\Bin" while in Visual Studio 2017 it used to be installed in "vsinstalldirectory\MSBuild\15.0\Bin". Internally the Visual Studio 2017 generator needs to be updated to look in the proper location depending on which version of Visual Studio it is targetting.