Building UE4 from source [error MSB3073 The command "..\..\Build\BatchFiles\Build.bat DatasmithSDK ...." exited with code 6

Good point about checking the Output tab! In my case the MSB3073 error was a due to a misspelling of an UPROPERTY parameter, that Visual Studio didn’t mark as an error.