Unreal Error "This project could not be compiled. Would you like to open it in Visual Studio?"

This contains a workaround if you’re working with engine source.