To remove all doubt as to what this is saying to do:
- Open your Plugin
PLUGIN_NAME.Build.csfile - Add “Projects” to
PrivateDependencyModuleNames
- e.g.,
PrivateDependencyModuleNames.AddRange(new string[] { "Projects" }); - Note: You may have additional strings in
PrivateDependencyModuleNamesdepending on your project.
Why PublicDependencyModuleNames and not PrivateDependencyModuleNames?.. Well it depends so read this other forum post.