Force editor to launch VS2013 while VS2015 is installed

Since we’re building with PS4 support we need to use Visual Studio 2013 rather than 2015 to build our UE4 project. GenerateProjectFiles.bat recognizes this and generates the correct project files, however while in the editor creating a new C++ class (or trying to edit existing ones) launches an instance of VS2015 instead.

I’ve hunted all throughout the editor preferences and the only reference to the code editor allows you to set “Visual Studio” as the editor, but there’s no ability to specify a particular version of it. Is there perhaps an undocumented command line switch we can pass to the editor to make it use VS2013 instead?

Before anyone suggests it, uninstalling VS2015 is not an option as we use that for other projects that require it.

I’m having the opposite problem. The editor is launching VS2013, but I need it to launch VS2015. The project files and VS solution file are generated correctly for 2015.

I’m having the opposite problem. The editor is launching VS2013, but I need it to launch VS2015. The project files and VS solution file are generated correctly for 2015.

Haven’t confirmed that this works, but maybe try hacking the build tool to force selection of a particular toolchain?