[Mono-list] Environment.GetFolderPath() on fedora core 8
cdhowie at gmail.com
Sat Jan 5 09:34:25 EST 2008
(Sorry if you get this twice Travis, I didn't reply to the list last time.)
On Jan 5, 2008 9:09 AM, Travis Staloch <twostepted at yahoo.com> wrote:
> When using Environment.GetFolderPath(Environment.SpecialFolder.Desktop), I
> get a funny looking result on FC 8. I get the following string (with quotes
> included in the string).
> This seems like a bug. Should I file a bug report?
Yes, that's not at all what you should be getting.
> Environment.SpecialFolder.StartMenu, Environment.SpecialFolder.Startupreturn empty strings when passed to
> Environment.GetFolderPath(). I might expect
> Environment.SpecialFolder.Programs to return something like /usr/bin. Can
> anyone comment on whether this is the expected behavior on FC 8?
Yes. Those special folders are not supported on Linux, and according to the
MSDN documentation this method returns:
> The path to the specified system special folder, if that folder physically
exists on your computer; otherwise, the empty string ("").
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list