I got my working project (C# - console application) and I have my .cs files, but I can not for the life of me figure out how to compile everything into a single .exe. If I copy the .exe without moving the other files it crashes immediately on startup since it contains references to the other files which are missing.
I saw after a little Google-fu that people recommend using ILMerge, but apparently it is used to merge .dll files with the .exe file. Problem is - I do not have any .dll files and if I try to convert my .cs files to .dll I always run into some errors (most of them because all classes have references to each other). Furthermore - I have other files as well and I am not sure if I would be able to merge them using ILMerge. Oh, yeah, and I do not really understand how to use it (ILMerge) either.
Is there any simpler idiot friendly method how to do all that?
I saw after a little Google-fu that people recommend using ILMerge, but apparently it is used to merge .dll files with the .exe file. Problem is - I do not have any .dll files and if I try to convert my .cs files to .dll I always run into some errors (most of them because all classes have references to each other). Furthermore - I have other files as well and I am not sure if I would be able to merge them using ILMerge. Oh, yeah, and I do not really understand how to use it (ILMerge) either.
Is there any simpler idiot friendly method how to do all that?