How to create non-monolithic build of windowsNoEditor and server?

how to create non-monolithic build of windowsNoeditor and server?

in my “test1Server.Target.cs” and “test1.Target.cs” i have added


public class test1ServerTarget : TargetRules
{
public test1ServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
bUsesSteam = true;

//non-monolithic--->
LinkType = TargetLinkType.Modular;
//non-monolithic--->

ExtraModuleNames.Add("test1");
}
}


but packaging always failed with this error:

“ERROR: The following files are set to be staged, but contain restricted folder names:”

anything I missed???