How to set the Visual Studio version?
Hi, I have VS2015 and VS2017 installed but Unreal 4.18 generates always only VS2015 solution files. Visual Studio 2017 got installed first and I installed Visual Studio 2015 later to open an old Unreal 4.13 project.
How can I select the Visual Studio version I want to work with?
asked Dec 30 '17 at 05:32 AM in Installation & Setup
So... apparently there is an ENGINE setting (under Edit->Editor Preferences) as well as a PROJECT setting for this. Changing the PROJECT setting then rebuilding the Visual Studio project only did not work for me until I also changed the ENGINE setting. The engine setting is under the "Source Code" section.
Go to Edit->Project Settings-> Platforms-> Windows -> Toolchain ->CompilerVersion. You can switch between Visual Studio 2015 or 2017.
answered Dec 30 '17 at 06:22 AM
I had to change both the Engine and Project preference settings as stated in other comments. Then completely close out of my game project (i.e. close UE4 completely). Then "Regenerate project files" (or whatever that's called I forget) in the project folder on the disk. After generating project files, then I was able to reopen my game project in UE4 and Unreal finally started using Visual Studio 2017 for me (instead of 2015)!
answered Apr 13 '19 at 09:43 PM
There is no need to compile the editor just to change the compiler setting. In your project directory update the following files:
That should let you compile with your chosen version of visual studio instead of doing it twice.
answered Jun 07 '19 at 01:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here