I have installed VS2017; both 2015 and 2017 toolsets are installed aswell… However when I try to build project files from UE4 source with:
GenerateProjectFiles.bat -2017
I get the following error. Any ideas to let UE4 know about VS 2017 installation path?
Setting up Unreal Engine 4 project files...
Binding IntelliSense data... 0%ERROR: Visual Studio 2017 must be installed in order to build this target.
GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files.
In your VS2017 setup, please ensure that the boxes for “Desktop development with C++” “.NET desktop development” and “Game development with C++” are checked. Using these settings in the 2017 setup should allow GenerateProjectFiles.bat -2017 to run successfully. You can check your installation settings by running the Visual Studio Installer and choosing the “Modify” option.
Comparing your screenshot to my local install, please check the box for “Windows 10 SDK (10.0.14393.0)” in either category (they are linked so checking one will update the other). Additionally, check that the box for the “.NET desktop development” category is checked as well.