ILMerge freezes when merged

I use ILMerge to combine 9.NET dlls written in C # .NET 4. The problem is that ILMerge is stuck, there is no error message or something else.

The log shows that ILMerge correctly merges all assemblies and then records the target assembly. It runs a build solution for a bunch of links, and then ... nothing. After a successful System.Configuration solution, nothing is displayed in the log.

The program continues to use the processor, but I do not see that it is doing something.

Has anyone had a similar experience?

+35
ilmerge
Dec 29 '11 at 17:54
source share
2 answers

It seems like he just posed a question.

Turns out I need to add the /targetplatform:v4 command to the command. I think this is because some of the assemblies use .NET 4, and some use .NET 2.

+83
Dec 29 '11 at 18:06
source share

I was having problems with ILMerge freezing, but using IL Repack instead with the same arguments seems to fix this problem for me.

+1
Mar 23 '15 at 20:32
source share



All Articles