【发布时间】:2015-07-29 06:43:50
【问题描述】:
我已经完成了我的 Windows 桌面应用程序的工作,该应用程序模仿了桌面小部件的行为。这个伪小部件将在其中包含一个内置浏览器窗口,该窗口使用 Chrome 页面渲染引擎。这就是我使用WebKit .NET 的原因,而它所附带的所有.dll 文件。
根据这个tutorial,我已经制作了我的内置网络浏览器。此外,我将所有 WebKit .dll 都放入了输出文件夹中。
为了更容易使用,我想创建一个没有任何 .dll 的单个 .exe 文件。 我发现ILMerge 是它的工具。
我尝试了很多命令,例如:
"ILMerge.exe /target:Bingo.exe CFLite.dll icudt40.dll icuin40.dll icuuc40.dll JavaScriptCore.dll libcurl.dll libeay32.dll libexslt.dll libxml2.dll insert2.dll libxslt.dll objc .dll pthreadVC2.dll SQLite3.dll ssleay32.dll WebKit.dll WebKit.Interop.dll WebKitBrowser.dll /out:BingoFinal.exe"
ILMerge.exe Bingo.exe /out:BingoFinal.exe
以及Thred中提到的所有内容
所有这些尝试都给我带来了这样的信息:
- 无法从位置 'C:\Program Files (x86) 加载程序集 \Microsoft\ILMerge\Bingo.exe'。跳过和处理其余的参数。 (Stackoverflow Thred)
PS 我不想使用 Costura.Fody,因为它使用 .NET 4.6 我想我已经尝试了 ILMerge 命令的所有变体,但仍然无法正常工作。
Here is the folder with all files that I want to merge in to one file.
谢谢。
【问题讨论】:
标签: c# dll webkit external ilmerge