c# - Merge/Embed multiple assemblies with/into a monogame app that depends on them -


i have made app in monogame. when build it, looks this: enter image description here
, app structure looks this:
enter image description here
highlighted "program.cs" file 1 contains main entry point application, this:

using system;  namespace mapeditor { #if windows || linux     /// <summary>     /// main class.     /// </summary>     public class program     {         /// <summary>         /// main entry point application.         /// </summary>          [stathread]         static void main()         {             using (var game = new mapedit())                 game.run();         }     }  #endif } 

i merge/embed these within mapeditor.exe.
here things have tried:

  • using this method.
    • the error app still can't find file.
    • i have tried codeproject version of this
  • using ilmerge through command line
    • this leads error place here, contains command used.
  • using gui version of ilmerge doesn't work
    • it throws error not being compatible .net 4.7
  • using batch script ilmerge
    • it puts arguments ilmerge onto command line

very many received, have been trying past... 4 hours?

ps: assemblies see in image below .net assemblies.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -