I tried to generate the server binaries, which built successfully but generated no “projectnameServer” files in …/Binaries/Win64 (only the non server files exist there “projectname”) and threw this warning:
“Warning SetupBinaries() is deprecated in the 4.16 release. From the constructor in your .target.cs file, use ExtraModuleNames.Add(“Foo”) to add modules to your target, or set LaunchModuleName = “Foo” to override the name of the launch module for program targets.”
As a newcomer to C++, I have no idea how to fix this (I see the ExtraModuleNames line in my target.cs file but I’m not sure what “Foo” is or what I should replace it with in order to correctly build the server binaries.
Hi, I found the solution to the problem- ShooterGame 4.16 has an updated Server.Target.cs file which I used in my project and generated the files correctly.
ShooterGame 4.16 has an updated Server.Target.cs file which I used in my project (changing “ShooterGame” to “projectname” and it generated the files correctly.
I build several project dedicated server, so please check:
1、Dedicated Server can only buid with engine source
2、dedicate server binary can only build from the visual studio,
you can’t build serer binary from editor. after build from visual studio with Development Server and Win64, you will find server binary in Binaries\Win64,
I had this problem and eventually realized that Visual Studio wasn’t recognizing the file. This is because it’s a .txt file in windows explorer and must be a .vs file for visual studio to recognize it. Go into windows explorer and change the file type