Just hit the same issue. The following should work, from both plugin and regular modules:
// At top of .Build.cs file
using System.IO;
//
...
PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "path/relative/to/module"));
Just hit the same issue. The following should work, from both plugin and regular modules:
// At top of .Build.cs file
using System.IO;
//
...
PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "path/relative/to/module"));