Build Failed with VS 2015 update 3

I am running Win10 Pro x64. Did you use the [VisualStudioUninstaller tool][1]? Did you follow the directions for it?

  1. Extract TotalUninstaller.zip
  2. Open an administrator command prompt
  3. Execute Setup.ForcedUninstall.exe
  4. Type ‘Y’ to uninstall.

Personally the newest release of the tool did not work for me, where as the older version 1.1 did work for me. Get it here-> [VisualStudioUninstaller 1.1][2]

“Then uninstall any thing related to VisualStudio (i.e. Windows SDK kits, Microsoft .NET Frameworks, Windows Phone Emulators, etc). Once everything is gone, REBOOT your PC.”
" Open a administrative command prompt, go to the folder where you have saved the VS2015 setup at."
copy+Paste the following into the command prompt:

vs_community_ENU.exe /OverrideFeedURI http://download.microsoft.com/download/0/6/B/06BB0C5C-C767-4250-91DA-AB463377597E/20160405.3/enu/feed.xml

IMPORTANT: If at any time later, you have to make any changes to what features are installed for VS2015 AFTER the initial install of VS2015.2. You MUST do so by using the same command used for the initial install. If you do not use that command, then setup will AUTOMATICLY download and install the latest update (3) for VS2015!!!

I appreciate the details, Snake, but it just isn’t working for me. I uninstalled everything that looks like a VS artifact program, ran both VisualStudioInstaller 4 (the latest) and 2, and deleted all folders I could think of that VS might access. I rebooted multiple times. The last attempt I downloaded the ISO, disconnected from the internet (just in case), opened an administrative command window, ran the installer with the command line params and selected to install only Update 2 and C++. Once again, on probably my eighth attempt, I still would up with Update 3 installed…

There’s some kind of Update 3 artifact left on this system that keeps getting used, but it isn’t anything obvious. Something in Windows\Temp maybe?

I did use the VisualStudioUninstaller tool. I used the newest version. When it uninstalled everything, I kept getting one package return with an exit code of like 1163 (or something like that). I’m assuming that was a failure code, because when I just ran the tool again, I got everything with exit code 0. I also did not realize that I needed to run the update command with the same parameters. I’m trying to offline visual studio installer now, and I’ll report on how that goes after.

When you did the Visual Studio 2015 Update 2 installation, did you select the default installation or a custom one?

Same here Today has been spent installing and uninstalling VS.

No, you HAVE to be connected to the internet for it to work. That URL in the setup switch is the location where setup will download the files for Update 2 from. If setup can not connect to that URL, by default, it uses the Update 3 files it already has.

Hi everyone,

We have released the 4.12.5 Hotfix today. Part of this Hotfix is the inclusion of our fix to allow the Engine to work with Visual Studio 2015 Update 3. If you have Update 3 installed, you can update UE4 to 4.12.5 and should no longer have any problems when compiling code. If you do, please let us know with a new post here…

Unfortunately this Hotfix does not affect previous versions of the Engine, so if you are still using 4.10 or 4.11, you will need to either merge the fix for Update 3 into a source code version of the Engine and build it, or stay on Visual Studio 2015 Update 2.

A quick fix for 4.11 has been added. Current Available Quick-Fix Solutions - Announcements - Unreal Engine Forums

thank you for this. Exactly what was needed as we are locked into 4.11 at the moment.

Uninstalled Visual Studio 2015 Update 3, then reinstalled version 2… but getting below error…

Running C:/Program Files (x86)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject14 Development Win64 -project=“D:/myuser/3D engine/unReal/MyProject14/MyProject14.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for MyProject14Editor
Running UnrealHeaderTool “D:\myuser\3D engine\unReal\MyProject14\MyProject14.uproject” “D:\myuser\3D engine\unReal\MyProject14\Intermediate\Build\Win64\MyProject14Editor\Development\MyProject14Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject14Editor in 5.1488295 seconds
@progress pop
Performing 7 actions (2 in parallel)
[2/7] Resource PCLaunch.rc
PCH.MyProject14.h.cpp
[3/7] Resource ModuleVersionResource.rc.inl
MyProject14.generated.cpp
MyProject14GameMode.cpp
D:\myuser\3D engine\unReal\MyProject14\Intermediate\Build\Win64\UE4Editor\Inc\MyProject14\MyProject14.generated.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled headerD:\myuser\3D engine\unReal\MyProject14\Source\MyProject14\MyProject14GameMode.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header

MyProject14.cpp
D:\myuser\3D engine\unReal\MyProject14\Source\MyProject14\MyProject14.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
ERROR: UBT ERROR: Failed to produce item: D:\myuser\3D engine\unReal\MyProject14\Binaries\Win64\UE4Editor-MyProject14.dll
Total build time: 53.88 seconds

Is there a way to install Visual Studio 2015 Community update 2 with the iso file?

Thanks to @Snake.Pliskin… it is working…
disconnect the internet while following Snake.Pliskin points.
command should be vs_community_ENU.exe feed.xml. we have to download feed.xml from Microsoft Visual Studio Secondary Installer Feed before running the command.

This FIX work fine for me under 10.4: -Tutorial-Fix-for-the-Visual-Studio-Update-3-without-Source-Control

I have the same problem, I have updated my Visual studio 2015 community to Visual studio 2015 enterprise,
how can I
solved it

Hi Waris_Developer,

The latest hotfix for version 4.12 should work fine with Visual Studio 2015 Update 3, and there is an optional update for 4.11 that provides support for Update 3 in that version as well. If you are using version 4.10 or earlier, then Visual Studio 2015 Update 3 will not work with the Engine.

oh my god it work for me!!! thanks brother