I have a solution and I’m happy to share it cause I couldn’t for the life of me figure it out until now.
This is an error in Visual Studio when starting a brand new C++ project and when creating a new class in UE4.20.1
First, go to the file where Epic Games is installed, and then go over to UE_4.20 (or UE_4.19). From here, the directory you want to copy is going to look like this
Don’t copy that though, because when I did it didn’t fix my issue. What you want to do is go to that directory and then right-click “Engine”, the last folder, and click “Copy address as text”.
Now go to Visual Studio, look over to the Solution Explorer, drop down the arrow on “Games” and right click your project’s file name and click on properties.
Look down and click on NMake, look over to the right and click on “Include Search Path.” There should be an drop down arrow on the right, click that and click edit.
On the top right corner, there’s a file with a star, it’s called “New Line,” you’re gonna want to click that and then copy and paste the address you’ve copied into the line. Click OK and Apply and you should be good to go.