我正在尝试使用ILMerge工具合并DLL文件。
我使用的命令行是
C:\Program Files (x86)\Microsoft\ILMerge>ilmerge /t:dll /out:NewFile.dll D:\victor\Excelimport.dll D:\victor\BOL3.dll**
但是我收到了以下错误。谁能告诉我为什么会出现这个错误:不允许未解决的程序集引用
An exception occurred during merging:
Unresolved assembly reference not allowed: Microsoft.Dexterity.Shell.
at System.Compiler.Ir2md.GetAssemblyRefIndex(AssemblyNode assembly)
at System.Compiler.Ir2md.GetTypeRefIndex(TypeNode type)
at System.Compiler.Ir2md.VisitReferencedType(TypeNode type)
at System.Compiler.Ir2md.VisitClass(Class Class)
at System.Compiler.Ir2md.VisitModule(Module module)
at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation)
at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWriter writer)
at System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
at System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String[] args)