0
我正在編寫一個小應用程序,並且我決定使用SQLite數據庫。 我需要2個庫合併ILMerge:SQLite.Interop.dll和System.Data.SQLite.dllILMerge錯誤:SQLite.Interop.dll [無法從位置加載程序集]
問題是,當我想合併我的EXE這些DLL。
當我嘗試將它們合併,出現了一個錯誤:在合併過程中發生 例外:
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)
更重要的是,當我System.Data.SQLite.dll合併exe文件,它的工作原理。 問題出在SQLite.Interop.dll庫中。
我使用.NET v4 [Visual Basic 2010]。
我真的需要你的幫助, 關心。
您可能沒有在命令參數中提供此程序集的路徑。 – Uranus 2012-04-05 10:31:45
我在命令行中鍵入的內容: ilmerge/targetplatform:v4,「C:\ Program Files \ Reference Assemblies \ Microsoft \ Framework \ .NETFramework \ v4.0」/ target:winexe /out:out.exe in.exe系統。 Data.SQLite.dll SQLite.Interop.dll – 02446 2012-04-05 10:34:43