I get the error 'Could not compile, try rebuilding from source manually

I just started learing UE5, i deleted the binaries, saved and intermediate folder. because i had some error that the Enhanced Input doesnt recognized by VS. So i generated the project files. When I want to start the my uproject I get the error ‘Could not compile, try rebuilding from source manually’. After that I opened the .sln file and i see a lot of errors what I first not have.

I tried to deleted the .sln file also and generated again but the issue is still the same.

Does anyone have a solution for this? My editor was closed when i tried to build in VS.

Make sure you add the enhanced input module to your projects build.cs:

“PrivateDependencyModuleNames.AddRange(
new string {
“EnhancedInput”,
}
);”