# UE4 not integrating with VS2017

**URL:** <https://forums.unrealengine.com/t/ue4-not-integrating-with-vs2017/399685>\
**Category:** Pipeline & Plugins\
**Tags:** visual-c-platform-to, unreal-engine, Visual-Studio, UE4, CPP, question\
**Created:** [July 4, 2017, 8:46pm UTC](https://forums.unrealengine.com/t/ue4-not-integrating-with-vs2017/399685 "2017-07-04T20:46:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![znrincon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@znrincon](https://forums.unrealengine.com/u/znrincon)\
**Post date:** [July 4, 2017, 8:46pm UTC](https://forums.unrealengine.com/t/ue4-not-integrating-with-vs2017/399685/1 "2017-07-04T20:46:37Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nachtmahr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nachtmahr](https://forums.unrealengine.com/u/Nachtmahr)\
**Post date:** [July 4, 2017, 11:11pm UTC](https://forums.unrealengine.com/t/ue4-not-integrating-with-vs2017/399685/2 "2017-07-04T23:11:11Z")

</div>

Install [Windows SDK archive - Windows app development](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)

Restart Computer try again report back.

---

<div class="post-metadata">

**Author:** ![Katianie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Katianie](https://forums.unrealengine.com/u/Katianie)\
**Post date:** [July 5, 2017, 12:18am UTC](https://forums.unrealengine.com/t/ue4-not-integrating-with-vs2017/399685/3 "2017-07-05T00:18:40Z")

</div>

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