Question

I'm just trying ILMerge to merge my application and the needed libraries into one executable. I'm using the command line just to do some testing. I took a sample project:

ilmerge /out:ProgramMerged.exe Program.exe Lib1.dll Lib2.dll

This seems to work as intended. But what if I had a Program.exe.config? Is it still applicable?

Does anybody how to achieve this?

Was it helpful?

Solution

The config file is always called the same as the EXE file + .config. So if you "rename" Program.exe to ProgramMerged.EXE you need to copy/rename program.exe.config to programmerged.exe.config

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top