https://stackoverflow.com/questions/8077570/how-to-merge-multiple-assemblies-into-one
You have several options:
OR
- use some tool like SmartAssembly (commercial)
it can embed and merge among other things (no need to change your source code)
OR
- code that yourself in less than 10 lines (free but minimal source code change)
mark all needed dependencies as “embedded resource” – this way they are included in the EXE file… you need to setup anAssemblyResolve
handler which at runtime reads from Resources and returns the needed DLLs to the .NET runtime…
272800cookie-checkC# merge assemblies