Set platform to 'v2', using directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\..\v2.0.50727' for mscorlib.dll
Running on Microsoft (R) .NET Framework v2.0.50727
mscorlib.dll version = 2.0.0.0
The list of input assemblies is:
a.dll
Trying to read assembly from the file 'E:\test\a.dll'.
Could not load assembly from the location 'E:\test\a.dll'. Skipping and processing rest of arguments.
An exception occurred during merging:
ILMerge.Merge: Could not load assembly from the location 'E:\test\a.dll'. Skipping and processing rest of
arguments.
在 ILMerging.ILMerge.Merge()
在 ILMerging.ILMerge.Main(String[] args)
google到如下信息:
ILMerge doesn't work on native dlls out of the box, but there is a workaround