Which VS version do I need to use?

I’m trying to build engine from the source(4.17 branch).

According to this document(Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.2 Documentation), I need to use VS2013.

However, in this document(Downloading Unreal Engine Source Code | Unreal Engine 5.2 Documentation), it says “Please make sure you are running Visual Studio 2015 or higher for Windows Desktop installed before proceeding.”

So I’m a little bit confused. Is either one of the document outdated? Or do I use VS 2015 to build the engine and use VS 2013 to do the other stuff like compiling C++ codes and shipping?

Thanks in advance.

As far as I know VS2015.3 is the lowest supported and still recommended version. Especially when compiling from source.