[Mono-bugs] [Bug 599476] New: Environment.GetFolderPath() behaviour inconsistent with .NET
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Apr 24 12:21:59 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=599476
http://bugzilla.novell.com/show_bug.cgi?id=599476#c0
Summary: Environment.GetFolderPath() behaviour inconsistent
with .NET
Classification: Mono
Product: Mono: Class Libraries
Version: unspecified
Platform: All
OS/Version: UNIX Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: ickard at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2
(KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2
The values returned by GetFolderPath() under unix and OSX is very inconsistent
with .NET/Windows.
It should be as consistent as possible with MSDN:
http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx
Suggested changed:
SpecialFolder.Personal and .MyDocuments should give XDG_DOCUMENTS_DIR on Linux,
as they both return MyDocuments on windows.
SpecialFolder.UserProfile should mean HOME.
SpecialFolder.ApplicationData should give the correct value
(~/Library/Application Support) on Mac OS X, not ~/.config.
ProgramFiles could (arguably) return /Applications on OSX.
Reproducible: Always
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list