jpdillingham / ILMergeGUI

Unofficial fork of ILMergeGUI from CodePlex (https://ilmergegui.codeplex.com/)
73 stars 22 forks source link

Cannot merge .NET 4.8 with ILMerge #6

Closed Thomas-Dayman closed 4 years ago

Thomas-Dayman commented 4 years ago

image

I am trying to merge two .dll files into one but I cannot merge my assemblies anymore due to this issue in the image above

jpdillingham commented 4 years ago

Relevant code is here: https://github.com/jpdillingham/ILMergeGUI/blob/master/ILMergeGui/Mainform.cs#L1236

Unfortunately this is a pretty generic error condition. @BobVul last updated this to work with 4.8 but I personally never tested; I suspect the issue isn't with the framework version itself but rather something in your binaries.

If you could debug the app and grab the Exception, that would be helpful.

You might also try to merge with the CLI and see if that gives a more descriptive message.

Thomas-Dayman commented 4 years ago

I got it to work by downloading the source code and running it in Visual Studio. then it gave me the option for 4.8

image