1
我使用mono和gtk#爲mac開發了一個應用程序。
問題是默認的文件處理程序。 我註冊使用這個Info.plist的(片段)我的應用程序在Mac OSX上使用mono gtk#打開文件
...
<array>
<dict>
<key>CFBundleTypeName</key>
<string>My Filetype</string>
<key>CFBundleTypeIconFile</key>
<string>file.icns</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>ext</string>
<string>EXT</string>
</array>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
</array>
....
它正確註冊(圖標相匹配,打開我的應用程序),但每當我打開文件顯示以下消息:
The document "test.ext" could not be opened. mono cannot open files of this type.
那我該如何讓它工作?