Error CS1729: 'UnrealBuildTool.ModuleRules' does not contain a constructor that takes 0 arguments

I am getting this error when trying to “generate visual studio project files”. I don’t know to work with c++ thing of Unreal Engine.
Please help me in getting the possible fix. Thanks in Advance. here is my build.cs code

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;

public class GestureRecognizers : ModuleRules
{
	public GestureRecognizers(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });

		PrivateDependencyModuleNames.AddRange(new string[] {  });

		// Uncomment if you are using Slate UI
		// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
		
		// Uncomment if you are using online features
		// PrivateDependencyModuleNames.Add("OnlineSubsystem");

		// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
	}
}

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1755531-unreal-engine-4-25-released/page22#post1792437