Error using ue4.25

An error occurred while trying to generate project files.

Running D:/unreal engine/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="D:/demoms/MyProject2/MyProject2.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing.  Install a version of .NET Framework SDK at 4.6.0 or higher.

Check this link https://dotnet.microsoft.com/download/dotnet-framework for the download. You problem should be solved after installing the SDK