Error: Cannot open source file "Online.h"

Hello

I’m working on a APlayerController based class and trying to include the Online.h in my source code but am receiving an error in VS (Error: Cannot open source file “Online.h”). I’ve followed the instructions from https://answers.unrealengine.com/questions/2447/compile-error-after-successful-include-onlineh-fon.html, and added the module dependencies, however I am still receiving the same error message. Any suggestions?

Thanks,
Dean

If you haven’t already, you’ll need to regenerate the solution so that the online dependencies can be included. Check to see the online subsystem dependencies are listed in the ‘include search path’. Project->Properties->Configuration Properties->NMake->Intellisense->Include Search Path.

Error: Cannot open source file “Online.h”.
I’m also getting same error in 4.19 ,Any one find the solution for this please post in the forum.