How can I build my game with a module as a dll?

Hello,

I’m getting issues with the build of my project. In my project I have 2 modules, one is my main module (the game), and the other is a module filled with dllexport function that I use with another c# assembly. this second module is used to make the link between my c# assembly and the first module, the game. Now here is the fun.

  • If I’m building in monolithic, both of my modules are build into one exe → I cannot longer use dllexport as it is an exe and not a dll
  • If I’m building in modular, both my modules are build in dll (yeah \o/), but I got no exe anymore → I cannot launch the game

Here is how I set the build in modular in the Target.cs files :

using UnrealBuildTool;
using System.Collections.Generic;

public class KeaTarget : TargetRules
{
    public KeaTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Game;

        LinkType = TargetLinkType.Modular;
        ExtraModuleNames.Add("Kea");
        ExtraModuleNames.Add("UnrealEntryPoint");
    }
}

Do you guys have any idea of what I can do ?

Is there an advancement with this problem?