Can't create c++ files

So… I’ve been programming in C++ for Unreal for a while ago, back in 4.17, 4.18… stopped for a while and i’m back now for 4.20… only thing is, either Unreal, or Visual Studio or Windows 10 seem to not want to work at all.
Since updating to 4.20 and even going back to 4.19 now, every time that I create a project that uses C++ or try to create a C++ file in a project, I receive thid GOD ■■■■ error that I simply can’t for the life of me see why it is happening.
First I get
“Referenced directory 'C:\Program Files\Epic Games\UE_4.20\Engine\Source\ThirdParty\Expat\expat-
2.2.0\Win64\VS2015\Release does not exist”
Even if I only have VS2015 installed.
Then I always get
“': No such file or
directory”
Wich is weird because the files most of the time are there…
Now, my notebook is from Brazil and unfortunately it’s one of those single language versions, meaning I can’t change my paths to english at all. I used to have it working fine before though, so I can’t see why this would be the issue.
I’ve also tried countless variants of installing visual studio, including:
installing UE4 before VS2017, VS2017 before UE4, both VS2017 and VS2015 and UE4, but nothing seems to be working at all.
Has anyone come across the same problem and a solution for it? I would be really grateful for any help, since I can’t do any work at all inside Unreal anymore.

248895-error.png

Not sure since the begining of the error is hiding, however, are u sure that you installed Windows10 latest SDK?

Sorry, here’s a better view of it, with some new errors after uninstalling VS2015 and installing VS2017 by Unreal command, when it can’t find one and prompts you to the download.
Answering your question, I add the SDK for both windows 10 and the windows 8.1 sdk from VS installation screen. Should I have both VS2015 and 2017? I really never had this problem before…
Thanks for your time, by the way
Edit: Also, a very weird thing, there is no “compile” button on the editor… it’s missing

248960-error2.png

can you give me a screen shot to your ProjectName.build.cs file?

Sure. Here

alright once last try , delete intermediate folder, saved , build and binary folders “make sure you make a backup of your folder first "
and if using visual studio 2017 you may need to delete this as well .vs"your project name”\v15\ipch\AutoPCH

Then right click on your porject and select Generate visual studio files .
then start the engine and let it to recompile , then do one test build and see .

Thats what I would do if Im in the same situation as u. hope that will help.

let me know anyway if that works for you or not.

Ok, so, I don’t have the ipch folder after v15, only a .suo file. After deleting and recompiling, it says it can’t compile and to compile from source, which doesn’t work and gives me this other error saying that the project can’t be found.

alright, one last try , delete ur custom classes that make the error and see if it will compile , otherwise, I cant help much maybe someone with more exp would help u.

Hope u resolve this soon:))

Ok, so I kind of got a work around for this. It seems that Unreal doesn’t like symbols in the project’s path, and my language has some of them, so I just created the project in a normal folder inside C:
But now I’m having these errors show up on visual studio, even though the program compiles fine in the editor…

Its save to ignore any redline errors inside VS as long as it complie correctly inside the engine , unreal engine is too heavy that intelj sometimes become messy with it.