C++ Project Won't Open

I wanted to play with c++ coding for a while and I have installed Visual Studio 2017 Community Edition.
Whenever I create a c++ project it gives me this error: \Running C:/Program Files/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBu - Pastebin.com
I click open with Visual Studio then it says: “Could not edit the code editing IDE. C:/Users/Name/Documents/Unreal Projects/MyProject6/MyProject6.sln could not be found.”

Any help, please?

Thanks,
Cookiedough611

Gives the error:
“ERROR: Windows SDK v8.1 must be installed in order to build this target.”

How do I install Windows SDK v8.1?