[MonoDevelop] Bugzilla Bug 79591
"Andrés G. Aragoneses [ knocte ]
"Andrés G. Aragoneses [ knocte ]
Wed Nov 29 07:33:45 EST 2006
Andrés G. Aragoneses [ knocte ] escribió:
>> Notice that no files with BuildAction.EmbedAsResource are added to the
>> iterator's files list. Thus they are never added to the list of files to
>> be searched.
>>
>> The only problem I can see with just adding another inclusion criteria
>> is that files that are not text (i.e., png, pidb, etc) could be added as
>> well.
>>
>> Would it be too restrictive to put a filename clause on the inclusion
>> criteria like ".xml" or something?
>
> I think we should check the Mime-type of the file. Does anyone know how
> to access to that info?
I reply to myself: it seems there is a function called
GetMimeTypeFromUri in Gnome.Vfs namespace. I am looking at how to use
that... I'll report soon on the bug.
Regards,
Andrés [ knocte ]
--
More information about the Monodevelop-list
mailing list