When should we put the module name in DynamicallyLoadedModuleNames?

What’s the goal of DynamicallyLoadedModuleNames in Build.cs?

I understand that the module might be loaded dynamically, but how does that interact with the build?

Is it link to the linking part of the build? Is it to avoid strong dependency on a module that you may not load at all?


Good question, because I’m still winding up with linker errors despite putting modules in DynamicallyLoadedModuleNames.

What good is dynamically loading a module if you have no code that references it?