none
Problem with ILMerge: "An exception occurred during merging: ILMerge.Merge: Could not load assembly from the location" RRS feed

  • Question

  • Hello,

    I'm currently writing a small app and I decided to use SQLite database.
    I need 2 libraries to merge with ILMerge: SQLite.Interop.dll and System.Data.SQLite.dll

    The problem is when I want to merge my exe with those DLLs.

    When I try to merge them, there appears an error:
    An exception occurred during merging:
    ILMerge.Merge: Could not load assembly from the location 'C:\Program Files\Micro
    soft\ILMerge\SQLite.Interop.dll'. Skipping and processing rest of arguments.
       w ILMerging.ILMerge.Merge()
       w ILMerging.ILMerge.Main(String[] args)

    What's more, when I merge the exe with System.Data.SQLite.dll, it works.
    The problem is with SQLite.Interop.dll library.

    I use .NET v4 [Visual Basic 2010].

    I really need your help,
    Regards.

    • Moved by lucy-liu Monday, April 9, 2012 5:26 AM it is a clr issue (From:Visual Studio Extensibility)
    Thursday, April 5, 2012 10:09 AM

Answers

All replies