dotnet / ILMerge

ILMerge is a static linker for .NET Assemblies.
MIT License
1.22k stars 169 forks source link

strong name validation error when merging assemblies #94

Open iphqne opened 3 years ago

iphqne commented 3 years ago

i get this error when merging assemblies

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'ILMerge, Version=3.0.0.0, Culture=neutral, PublicKeyToken=736440c9b414ea16' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A) --- End of inner exception stack trace ---

ilmerge .exe .dll /out: \ilmerge.exe

they're the only arguments i use

edit: i fixed it by using the ilmerge that was not in the "final" folder