Thanks for the update.  I did not need to use the NSDocument nib in the
info.plist.  I reverted back to the simpler setup and everything works great
that way.

Duane

On Wed, Sep 17, 2008 at 9:55 AM, Laurent Etiemble <
[EMAIL PROTECTED]> wrote:

> Hello,
>
> This is a known bug related to the way Mono parse the command line.
>
> I posted a workaround some times ago :
> http://www.mail-archive.com/[email protected]/msg00046.html . Let me
> know if it works for you.
>
> Regards, Laurent Etiemble.
>
> 2008/9/17 Monobjc Support <[EMAIL PROTECTED]>
>
>> Hello,
>>
>> This is a known bug related to the way Mono parse the command line.
>>
>> I posted a workaround some times ago :
>> http://www.mail-archive.com/[email protected]/msg00046.html . Let
>> me know if it works for you.
>>
>> Regards, Laurent Etiemble.
>>
>> 2008/9/17 Duane Wandless <[EMAIL PROTECTED]>
>>
>> The document "PDFKitViewer.exe" could not be opened.  PDFKitViewer cannot
>>> open file in the "EXE File" format.
>>>
>>>
>>>
>>> I receive this popup message when I run the PDFKitViewer from the samples
>>> directory.  I get the same error from my own executable.    The Info.plist
>>> is essentially the problem but I do not see how to make the message go
>>> away.  Below is the Info.plist from PDFKitViewer.
>>>
>>> thanks,
>>> Duane
>>>
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "
>>> http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
>>> <plist version="1.0">
>>>   <dict>
>>>     <key>CFBundleDevelopmentRegion</key>
>>>     <string>English</string>
>>>     <key>CFBundleDocumentTypes</key>
>>>     <array>
>>>       <dict>
>>>         <key>CFBundleTypeExtensions</key>
>>>         <array>
>>>           <string>pdf</string>
>>>           <string>PDF</string>
>>>         </array>
>>>         <key>CFBundleTypeMIMETypes</key>
>>>         <array>
>>>           <string>application/pdf</string>
>>>         </array>
>>>         <key>CFBundleTypeName</key>
>>>         <string>DocumentType</string>
>>>         <key>CFBundleTypeOSTypes</key>
>>>         <array>
>>>           <string>PDF </string>
>>>         </array>
>>>         <key>CFBundleTypeRole</key>
>>>         <string>Viewer</string>
>>>         <key>NSDocumentClass</key>
>>>         <string>MyPDFDocument</string>
>>>       </dict>
>>>     </array>
>>>     <key>CFBundleExecutable</key>
>>>     <string>PDFKitViewer</string>
>>>     <key>CFBundleIconFile</key>
>>>     <string>Monobjc</string>
>>>     <key>CFBundleIdentifier</key>
>>>     <string>net.monobjc.samples.PDFKitViewer</string>
>>>     <key>CFBundleInfoDictionaryVersion</key>
>>>     <string>6.0</string>
>>>     <key>CFBundleName</key>
>>>     <string>PDFKitViewer</string>
>>>     <key>CFBundlePackageType</key>
>>>     <string>APPL</string>
>>>     <key>CFBundleSignature</key>
>>>     <string>????</string>
>>>     <key>CFBundleVersion</key>
>>>     <string>1.0</string>
>>>     <key>NSMainNibFile</key>
>>>     <string>MainMenu</string>
>>>     <key>NSPrincipalClass</key>
>>>     <string>NSApplication</string>
>>>   </dict>
>>> </plist>
>>>
>>>
>>
>

Reply via email to