Thats what I figured out for my self so far. But then it complains it can’t find the refs included in the Networking.h what would go down to replacing recursively any include by its path-prefix. That can’t really be intended and should be fixable in an configurable way.
After adding it to the PublicDependencyModuleNames you have to save the project, exit Visual Studio and then right click your .uproject file and hit “Generate Visual Studio project files”.
Then it should work.