Generate visual studio files error: 'UnrealBuildTool.TargetRules' does not contain a constructor that takes 0 arguments

Looks like you’re missing your call to the base constructor. Line 6 should be as follows:

public DEDsession2ServerTarget(TargetInfo Target) : base(Target)