.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Need Help With ILMerge

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :.NET Framework
I need help using ILMerge. I placed several DLLs in the ILMerge directory (so I wouldn't have to specify all the paths) and tried to merge them. This is the result: C:\Program Files (x86)\Microsoft\ILMerge>ILMerge.exe /t:library /out:DevTex.dll "DevTex_Framework.dll" ICSharpCode.SharpZipLib.dll Google.GData.Client.dll Googl e.GData.Extensions.dll Google.GData.YouTube.dll An exception occurred during merging: Unresolved assembly reference not allowed: System.Core. 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.GetMemberRefIndex(Member m) at System.Compiler.Ir2md.GetMethodToken(Method m) at System.Compiler.Ir2md.VisitMethodCall(MethodCall call) at System.Compiler.Ir2md.VisitBranch(Branch branch) at System.Compiler.Ir2md.VisitBlock(Block block) at System.Compiler.Ir2md.VisitBlock(Block block) at System.Compiler.Ir2md.VisitMethodBody(Method method) at System.Compiler.Ir2md.VisitMethod(Method method) at System.Compiler.Ir2md.VisitStruct(Struct Struct) at System.Compiler.Ir2md.VisitModule(Module module) at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation) at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWr

View Complete Post

More Related Resource Links

Problem using reflection with ILMerge


Hello all,

I have a command-line loader of currency exchange rates that, depending on the options, uses Reflection to load an external DLL for the specified country. It works well as it is, but if I merge it into a single executable (not including the DLL, of course), the loading of the DLL no longer works, and the call to Assembly.CreateInstance() returns null. No exceptions are generated.

Thanks in advance,

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend