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"

What about Visual Studio 2017 in UE4?

Visual Studio 2017 has been released days ago! Did somebody know when it will be integrated in UE4?

Product Version: Not Selected
more ▼

asked Mar 22 '17 at 04:00 PM in Installation & Setup

avatar image

67 10 15 26

avatar image Brian2524 May 06 '19 at 02:07 PM

How would we do this for the 2019 version of VS now?

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

2 answers: sort voted first

Hi fsportelli,

Version 4.15 supports both Visual Studio 2015 (default) and Visual Studio 2017. If you are building the Engine from source code, you would want to open a command prompt after running Setup.bat and run the command GenerateProjectFiles.bat -2017. This will give you a Visual Studio 2017 solution for the Engine.

To use Visual Studio 2017 for projects, you can set your preference for which version projects use by going to Edit -> Editor Preferences -> General -> Source Code and choosing Visual Studio 2017 in the Source Code Editor setting.


more ▼

answered Mar 22 '17 at 09:32 PM

avatar image Redot3D Mar 23 '17 at 09:42 AM

Thank you very much!

avatar image bcnobel Apr 20 '17 at 10:28 AM

@Tim Lincoln is there also a way to generate VS 2017 solution files for UE4 projects? Every time time I create a project it shows up as a VS 2015 solution in my Visual Studio. I have set the source code editor to 2017, but this does not change anything for me.

avatar image Tim C ♦♦ STAFF Apr 24 '17 at 04:45 PM

Hi @bcnobel,

I still don't work primarily in Visual Studio 2017, so I didn't notice this issue. Thanks for pointing it out. I did some tests and noticed that when you change this setting it appears to only set it for the current project, instead of setting it at the Editor level, which is what I would expect it to do. I have entered UE-44289 to have this investigated further.


avatar image invicticide Apr 21 '17 at 07:08 PM

There does appear to be an issue when making an installed build on a machine that only has 2017 installed.

 StripTask.Execute: Stripping symbols: C:\Users\photex\Projects\UnrealEngine\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb -> C:\Users\photex\Projects\UnrealEngine\Saved\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb
 Program.Main: ERROR: AutomationTool terminated with exception: ERROR: Failed to start local process for action ("The system cannot find the file specified"): C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\PDBCopy.exe "C:\Users\photex\Projects\UnrealEngine\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb" "C:\Users\photex\Projects\UnrealEngine\Saved\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb" -p
 Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

The pdbcopy.exe is expected to be found in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\ but if 2017 is the only installed version of Visual Studio then it will actually be found in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage.

If you don't want to install 2015 (which takes forever) you can just symlink a new v12.0 folder to v14.0 in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio:

 // Run cmd.exe as administrator!
 cd C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio
 mklink /J v12.0 v14.0

avatar image Tim C ♦♦ STAFF Apr 24 '17 at 06:39 PM

Hi @invicticide,

This is actually a slightly different issue than what was addressed by the original question. We would like to try to keep posts on AnswerHub on a single topic. I have started looking into the situation that you described, but could you please create a new post for this issue in the Bug Reports section so we can look into it there?


avatar image NMouzourakis Oct 18 '17 at 04:36 PM

FYI, there's a bug for this already, https://issues.unrealengine.com/issue/UE-51362. Feel free to upvote. :)

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

HI @Tim Lincoln,

I compile source code in visual studio 2017. then, I create a C++ project in Unreal4. but the game sln is for visual studio 2015 when I open the new game project file. I can only open the .sln file and no UEditor. so "Edit -> Editor Preferences -> General -> Source Code" cannot find. Please help, thanks.

more ▼

answered Aug 04 '17 at 12:46 PM

avatar image

16 2 2

(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