Unable to generate c++ projects file 4.9 *Found Fix*

One more bit of information. What, if anything, happens if you run EnvVarsToXML.exe manually? You can find this at ..\Epic Games\4.9\Engine\Binaries\DotNET.