Having trouble linking plugin header files in vs2017?

I’m trying to follow the steam dedicated server tutorial here: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

And I’ve got everything working prior to the end where I add the .cpp and .h files to my project with the code snippet. Using Visual Studio 2017, I get some errors specifically these:

#include “Public/OnlineSessionInterface.h”
#include “OnlineSubsystemUtils.h”
#include “CreateCustomSessionDedicated.generated.h”

vs cannot find these. They are in my 4.18.2 editor source build, I just don’t know how to include them. I’ve tried including them to my *.build.cs file like this:

PublicDependencyModuleNames.AddRange(new string] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “HeadMountedDisplay”, “OnlineSubsystem” });

but it’ hasn’t worked yet. Can someone offer some guidence?



PublicDependencyModuleNames.AddRange(new string] { "***OnlineSubsystem***","***OnlineSubsystemUtils***" });




#include "***Interfaces/***OnlineSessionInterface.h"
#include "OnlineSubsystemUtils.h"


Thank you.