I’m trying simple merging using ILMerge tool to combine a DLL with the executable. The merging itself works fine, but after I run the merged EXE, it still attempts to find the original DLL (like if it wasn’t merged into the EXE at all).
Does ILMerge update references to internal automatically or I have to do something manually? I was under assumption that ILMerge makes everything automatically.
Both EXE and DLL are WinForms .NET 3.5.
The issue was caused by other non-merged DLLs that try to use the original assembly. I had to merge them as well and now everything works correctly.