(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 <[EMAIL PROTECTED]> 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).
>
> /home/username/"$HOME/Desktop"
>
> This seems like a bug.  Should I file a bug report?
>

Yes, that's not at all what you should be getting.

Also, Environment.SpecialFolder.Programs,
> 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?
> <http://lists.ximian.com/mailman/listinfo/mono-list>


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 ("").

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to