rdoubleui
rdoubleui

Reputation: 3598

ILMerge: How to configure the corresponding app.config

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?

Upvotes: 3

Views: 3993

Answers (1)

Arve
Arve

Reputation: 7506

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

Upvotes: 10

Related Questions