Edit2: You can make use of placing the BuildConfiguration.xml file in your documents folder instead of the appdata directory, as others have posted: C:\Users\USERNAME\Documents\Unreal Engine\UnrealBuildTool
Thanks so much for this!
I was looking everywhere and this solved the issue.
Just as a quick helpful tip for others, you can also add the BuildConfiguration.xml file under C:\Users\<windowsUsername>\Documents\Unreal Engine\UnrealBuildTool (Aka under your users Documents folder)
UnrealBuildTool will use that config as an override to whatever is present under AppData.
Unfortunately, I’m having this problem and this didn’t fix it for me. Using 17.2, but not the preview version, installed the older compiler, used your XML, but still getting the json error. The only way I can find to fix this is to do a full rebuild every single time.
Thank you @dkjb63411 ! This solution worked for me without changing the version manually on all .json files.
@HERO4K60 Check this article showing possible locations for the BuildConfiguration.xml Build Configuration | Unreal Engine Documentation
I put mine on in [USER_DIR]\Documents\Unreal Engine\UnrealBuildTool. I just had to fix the quotes and remove a trailing 21 in the xmlns declaration. After that I had to modify my VS install to include version 14.31 of the compiler and finally did a clean/rebuild.
When I try to remove this version of BuildTool, the VS alert me that the other components like “Graphics Compiler / Unreal Engine Installer” will not work anymore… How do you set this to early version and get Unreal Engine compiler working well?