Is it required to download visual studio 2019 and 2017

An error occurred while trying to generate project files.

Running C:/Users/Aravind/Desktop/rohan/Unreal/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/Aravind/Desktop/rohan/MyProject2/MyProject2.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
WARNING: No Visual C++ installation was found. Please download and install Visual Studio 2017 with C++ components.
ERROR: Visual Studio 2019 must be installed in order to build this target.