Dedicated Server Setup Errors

Hey guys, sorry for bothering but i am kinda stuck on this error haven’t been able to figure it out. I am currently using VS 2015 v3 and UE4.19 and my project is also 4.19 the error appears once I try to generate visual studio files, I am following a tutorial for dedicated servers.

The error codes;

Source\projectkaaServer.Target.cs(26,36) : error CS0122:

‘UnrealBuildTool.UEBuildBinaryConfiguration’
is inaccessible due to its protection
level

and

Source\projectkaaServer.Target.cs(24,26) : error CS0051: Inconsistent
accessibility: parameter type ‘ref
System.Collections.Generic.List’
is less accessible than method
‘projectkaaServerTarget.SetupBinaries(UnrealBuildTool.TargetInfo,
ref
System.Collections.Generic.List,
ref
System.Collections.Generic.List)’

projectkaaServer.Target.cs

235258-server.jpg

projectkaa.Target.cs

If anyone could point me in the right direction I would be quite happy, thanks in advance

Someone pointed the error out to me on another platform.

the new Server.target file looks like this and I dont get these errors;

235264-newserver.jpg

Hello guys,
How about the create Project Package?
Not sure why, but I have Failed over and over again.
Try new projects, but the same result.
And Server.exe also not work.
Try to do all like in a tutorial for dedicated servers.

Thanks!