Delete the file
“C:\Users{YOURUSERNAME}\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml”
, and then regenerate the unreal project ( by deleting the vstudio files eg. sln and folders ). Or you can delete the whole unreal project and create a new one and all good!