[Mono-bugs] [Bug 70330][Wis] New - Application.UserAppDataPath and LocalUserAppDataPath need to use subfolders
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 8 Dec 2004 12:20:15 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by rscaletta@augustmack.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70330
--- shadow/70330 2004-12-08 12:20:15.000000000 -0500
+++ shadow/70330.tmp.32445 2004-12-08 12:20:15.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 70330
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: rscaletta@augustmack.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Application.UserAppDataPath and LocalUserAppDataPath need to use subfolders
+
+To match .NET semantics, Application.UserAppDataPath and
+Application.LocalUserAppDataPath need to return paths that are specific to
+the application being run. Right now (in the SVN repository) they just
+return ~/.config and ~/.local/share.
+
+From the documentation:
+
+ If a path does not exist, one is created in the following format:
+
+ Base Path\ CompanyName\ ProductName\ ProductVersion
+
+All of those properties are already implemented, so this should be easy to
+implement.
+
+We need this so that multiple applications don't clobber each other's
+configuration files.
+
+
+Steps to reproduce the problem:
+[assembly: AssemblyCompany("Ximian")]
+[assembly: AssemblyProduct("TestMono")]
+[assembly: AssemblyVersion("1.0.0.54")]
+
+Console.WriteLine(Application.UserAppDataPath)
+Console.WriteLine(Application.LocalUserAppDataPath)
+
+Actual Results:
+/home/rscaletta/.config
+/home/rscaletta/.local/share
+
+Expected Results:
+/home/rscaletta/.config/Ximian/TestMono/1.0.0.54
+/home/rscaletta/.local/share/Ximian/TestMono/1.0.0.54
+
+How often does this happen?
+Every time.