ILMerge - 命令退出与code 255命令、ILMerge、code

由网友(心深似海藏少年)分享简介:我试图嵌入使用ILMerge单一的可执行的DLL。I'm trying to embed DLLs in single executable using ILMerge.我在建事件添加了此命令行>后生成事件命令行:I added this command line in build events > post b...

我试图嵌入使用ILMerge单一的可执行的DLL。

I'm trying to embed DLLs in single executable using ILMerge.

我在建事件添加了此命令行>后生成事件命令行:

I added this command line in build events > post build event command line:

C:Program FilesMicrosoftILMergeILMerge.exe /out:$(TargetDir)Publish.exe 
($TargetDir)foo.dll

但是当我尝试运行它,我得到以下错误:

but when I try to run it, I get the following error:

命令C: Program Files文件微软 ILMerge ILMerge.exe /out:C:Publish.exe   ($ TARGETDIR)foo.dll退出,code 255

The command "C:Program FilesMicrosoftILMergeILMerge.exe /out:C:Publish.exe ($TargetDir)foo.dll" exited with code 255

我怎样才能解决这个问题?

how can I fix this?

推荐答案

综观错误信息,我觉得

($TargetDir)foo.dll 

$(TargetDir)foo.dll
阅读全文

相关推荐

最新文章