2011-05-10 5 views
2

Mac 설치 프로그램으로 MonoMac 응용 프로그램을 게시하려고 할 때 다음 오류가 발생합니다. MonoDevelop 2.4.2, MonoMac 2.4.2.4를 사용하고 있으며이 프로젝트는 "C# MonoMac Project"에서 만든 새 프로젝트입니다.osx 설치 프로그램을 만들 때 모노 병합에 실패했습니다

방금 ​​두 클래스를 추가하고 MainWindow의 Initialize을 통해 호출했습니다.

 
Creating app bundle 
Contents/Info.plist 
Contents/PkgInfo 
Contents/Resources/MainMenu.nib 
Contents/Resources/MainWindow.nib 
Contents/Resources/Scripts/itunes.scpt 
Contents/Resources/Scripts/out.txt 

Merging Mono into app bundle 
mmp --linksdkonly -o "/tmp/monomac-build-634406615434742750" -n "djBillboard" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll" -a "/Users/Sebi/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll" -a "/Users/Sebi/Projects/djBillboard/lib/Nugget.dll" "/Users/Sebi/Projects/djBillboard/djBillboard/bin/Debug/djBillboard.exe" 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object 
    at MonoMac.Bundler.Driver.Link() [0x00000] in :0 
    at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in :0 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object 
    at MonoMac.Bundler.Driver.Link() [0x00000] in :0 
    at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in :0 


Merging Mono failed 

답변

2

링커를 "어셈블리를 연결하지 마십시오"로 변경하면 나를 위해이 문제가 해결되었습니다.

+0

다음 주에 시험해보고 작동 여부를 알려 주시면 감사하겠습니다. – Zebi

관련 문제