我正在尝试使用Mono在Linux上为我的.net应用程序创建一个包。当我执行下面的mkbundle命令时-
$>mkbundle -o ConsoleApp ConsoleApp.exe --deps
OS is: Linux
Sources: 1 Auto-dependencies: True
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'sharedassembly' or one of its dependencies. The system cannot find the file specified.
File name: 'sharedassembly'但是,sharedassembly.dll存在于当前目录中。如何告诉mkbundle从当前目录加载文件。
谢谢,Omky
发布于 2014-12-18 06:31:02
尝试显式地将sharedassembly.dll添加到mkbundle命令中:
mkbundle -o ConsoleApp ConsoleApp.exe sharedassembly.dll --depshttps://stackoverflow.com/questions/27290102
复制相似问题