Server depends on lib, It also has a dependency with CommandLine.dll, that gets copied to the output directory after build. At the end, in the build directory bin/net48 there are server.exe, lib.dll, CommandLine.dll, and various .pdb and .config files. Both projects are generated with .net48 and C#9. I would like to merge these three assemblies in one (like server-release.exe).
I have a solution with two projects:
server.exe
lib.dll
Server depends on lib, It also has a dependency with
CommandLine.dll
, that gets copied to the output directory after build. At the end, in the build directorybin/net48
there areserver.exe
,lib.dll
,CommandLine.dll
, and various.pdb
and.config
files. Both projects are generated with .net48 and C#9. I would like to merge these three assemblies in one (likeserver-release.exe
).I tried this command in the directory of server:
The output is