# What about Visual Studio 2017 in UE4?

**URL:** <https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Visual-Studio, question\
**Created:** [March 22, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669 "2017-03-22T16:00:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3b4bf635](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3b4bf635](https://forums.unrealengine.com/u/anonymous_user_3b4bf635)\
**Post date:** [March 22, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/1 "2017-03-22T16:00:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [March 22, 2017, 9:32pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/2 "2017-03-22T21:32:53Z")

</div>

Hi ,

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3b4bf635](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3b4bf635](https://forums.unrealengine.com/u/anonymous_user_3b4bf635)\
**Post date:** [March 23, 2017, 9:42am UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/3 "2017-03-23T09:42:48Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![SjaakPastinaak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SjaakPastinaak](https://forums.unrealengine.com/u/SjaakPastinaak)\
**Post date:** [April 20, 2017, 10:28am UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/4 "2017-04-20T10:28:48Z")

</div>

@ 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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dd151c9c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dd151c9c](https://forums.unrealengine.com/u/anonymous_user_dd151c9c)\
**Post date:** [April 21, 2017, 7:08pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/5 "2017-04-21T19:08:50Z")

</div>

There does appear to be an issue when making an [installed build](https://docs.unrealengine.com/latest/INT/Programming/Development/InstalledBuildReference/index.html) 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

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [April 24, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/6 "2017-04-24T16:45:00Z")

</div>

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](https://issues.unrealengine.com/issue/UE-44289) to have this investigated further.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [April 24, 2017, 6:21pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/7 "2017-04-24T18:21:14Z")

</div>

Hi @PortStone,

If you run the Visual Studio Installer, and select the option to Modify your Visual Studio 2017 installation, what options do you currently have selected?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [April 24, 2017, 6:39pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/8 "2017-04-24T18:39:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![PortStone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PortStone](https://forums.unrealengine.com/u/PortStone)\
**Post date:** [April 25, 2017, 3:12pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/9 "2017-04-25T15:12:24Z")

</div>

Hi ,

Thanks for the answer.  
I already fixed the problem by reinstalling VS and deleted my comment but seems like it didn´t worked sorry.

PortStone

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d56bf830](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d56bf830](https://forums.unrealengine.com/u/anonymous_user_d56bf830)\
**Post date:** [August 4, 2017, 12:46pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/10 "2017-08-04T12:46:26Z")

</div>

HI @ ,

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.

---

<div class="post-metadata">

**Author:** ![NMouzourakis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NMouzourakis](https://forums.unrealengine.com/u/NMouzourakis)\
**Post date:** [October 18, 2017, 4:36pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/11 "2017-10-18T16:36:55Z")

</div>

FYI, there’s a bug for this already, [Unreal Engine Issues and Bug Tracker (UE-51362)](https://issues.unrealengine.com/issue/UE-51362). Feel free to upvote. 🙂

---

<div class="post-metadata">

**Author:** ![Brian2524](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brian2524](https://forums.unrealengine.com/u/Brian2524)\
**Post date:** [May 6, 2019, 2:07pm UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/12 "2019-05-06T14:07:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dfdd346a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dfdd346a](https://forums.unrealengine.com/u/anonymous_user_dfdd346a)\
**Post date:** [March 19, 2022, 4:53am UTC](https://forums.unrealengine.com/t/what-about-visual-studio-2017-in-ue4/388669/13 "2022-03-19T04:53:06Z")

</div>

GenerateProjectFiles.bat -2019
