x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

GenerateProjectFiles.bat -2017 VS 2017 Error

Hi,

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.

Product Version: UE 4.15
Tags:
more ▼

asked May 04 '17 at 09:09 PM in Installation & Setup

avatar image

onuraktas
31 4 5 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Hey onuraktas-

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.

Cheers

Doug Wilson

more ▼

answered May 05 '17 at 07:21 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi Doug,

Thank you for your reply. Actually they are both checked. Is there any item missing within checkboxes?

alt text

screen.png (47.4 kB)
more ▼

answered May 06 '17 at 02:41 PM

avatar image

onuraktas
31 4 5 12

avatar image Doug E ♦♦ STAFF May 08 '17 at 04:08 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

For folks getting to this page when trying to build 4.22 - you need to install VS 2017 plugin for DOTNET 4.6.2 SDK.

more ▼

answered Apr 08 '19 at 08:44 PM

avatar image

H8weaver
6 1 1

avatar image mellowsoft Apr 28 '19 at 07:18 PM

4.22 problem here too - and I definitely have the 4.6.2 .NET Framework SDK and targeting pack. Doesn't work for me. Very bizarre.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question