UE4 not integrating with VS2017

Install Windows SDK archive - Windows app development

Restart Computer try again report back.

You can also try re-generating the project files by right clicking the .uproject file and generate visual studio files.

I have installed UE4.16.2 and Visual Studio 2017 on Windows 10. Each is working correctly on its own, but they do not integrate with eachother the way I have seen in tutorials. Specifically, when I create a new project in UE4 (New Project > C++ tab > Basic Code), it begins compiling the script as usual until it runs into an error with the following error message:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64
-project=“D:/Users/Lotan/Documents/Unreal Projects/MyProject/MyProject.uproject”
-editorrecompile -progress -NoHotReloadFromIDE Performing full C++ include scan (building a new target) Creating makefile for MyProject (no existing makefile) @progress push 5% Parsing headers for MyProjectEditor Running UnrealHeaderTool “D:\Users\Lotan\Documents\Unreal Projects\MyProject\MyProject.uproject” “D:\Users\Lotan\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest”
-LogCmds=“loginit warning, logexit warning, logdatabase error”
-Unattended -WarningsAsErrors -installed Reflection code generated for MyProjectEditor in 8.974645 seconds @progress pop Performing 8 actions (12 in parallel) [2/8] Resource ModuleVersionResource.rc.inl [3/8] Resource PCLaunch.rc SharedPCH.Engine.cpp MyProject.generated.cpp MyProject.cpp MyProjectGameModeBase.cpp [7/8] Link UE4Editor-MyProject.dll [8/8] Link UE4Editor-MyProject.lib LINK : fatal error LNK1181: cannot open input file ‘ws2_32.lib’ Creating library D:\Users\Lotan\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.lib and object D:\Users\Lotan\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.exp ERROR: UBT ERROR: Failed to produce item: D:\Users\Lotan\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll Total build time: 52.03 seconds (Local executor: 0.00 seconds)

Whether I click ‘yes’ or ‘no’, VS2017 opens and begins building the project. After that, I am unable to open the project again in UE4.
Is it possible to adjust some settings so that the integration of VS2017 and UE4 is more seamless?