Can't find "EnhancedInputComponent.h" in CPP

I used the compilation button in ue and it turned out to be success. But if I use the “build solution” in vs it failed and output “missing xxx.h error”. So is that Ok?