How to fix the "Failed to compile newly created game module" error?

have you install the component for game dev in visual studio?