2
當我嘗試將我的MonoMac應用程序發佈爲mac安裝程序時,出現以下錯誤。 我使用的是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
我會在下週試試,並報告它是否有效,謝謝你的回答! – Zebi 2011-06-22 21:09:11