Closed MortInfinite closed 6 years ago
It could be that you need to specify the target platform: what version of .NET are Input1.exe and Input2.dll built against? You can see what the default target platform is that ILMerge is using if you add "/log:foo.txt" to the command line arguments.
Thank you, specifying framework v4 allowed me to continue the merge operation 👍 (The log said that It previously defaulted to v2).
Every time I try to merge any assembly, I am presented with the following exception:
The command line arguments I'm using look like this:
ilmerge.exe /out:Result.exe Input1.exe Input2.dll
I have tried multiple combinations of my assemblies and all of them produce this exception. System.Core is a part of the .NET framework and I'm not specifying to merge this assembly.