Just to make sure I understand correctly, are you trying to use File->Package->Linux from your Windows machine? At what point are you getting the “no target” error? Can you provide the full error message you receive when packaging?
Do you get the same error when packaging a new empty project with no added content? If you’re using cross-compilation to compile for Linux from Windows, can you confirm that the game code has been compiled for the Linux configuration in Visual Studio?
I’m using cross compilation, and when I generate the project for linux client some files were compiled but the error is still there.
I’m able to compile the LinuxServer and the LinuxNoEditor, but LinuxClient doesn’t want …
I’m trying with an empty project this morning and will come back later with some news !
If I perform a full rebuild of my project (or the engine) can it resolve the problem (It will be really long so I will try it when there will be no more options)
Thank you !
EDIT : even with an empty project, it doesn’t want to compile, with the same error …
EDIT 2 : development and shipping builds is the same …
After using cross-compile to compile a project locally, I found that you shouldn’t need a Client.Target.cs file specifically. If you compile a non-dedicated server, it is already considered a client. Here are the steps I used to create a Linux client of a test project. These steps should help you get a copy of your project running on your Linux machine.
Create project on Windows
Cross compile project using DevelopmentEditor / DevelopmentServer for Windows & Linux
Package project for Windows and Linux (File->Package Project in the editor)