2014-12-04 4 views
2

Linux에서 Mono를 사용하여 .net 응용 프로그램 용 번들을 만들려고합니다. 다음과 같이 mkbundle 명령을 실행하면 -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 명시 적으로 mkbundle 명령에 sharedassembly.dll을 추가 할 수

답변

3

시도 :

mkbundle -o ConsoleApp ConsoleApp.exe sharedassembly.dll --deps 
+0

와일드 카드가 너무 일 : mkbundle -o ConsoleApp ConsoleApp.exe * .DLL --deps – Will

관련 문제