[Mono-bugs] [Bug 361709] New: SWF. Application ApplicationData paths are not created when queried and return incorrect path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 14 01:25:59 EST 2008


           Summary: SWF.Application ApplicationData paths are not created
                    when queried and return incorrect path
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: justin.cherniak at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

In the following properties, MSDN specifies that the directory or registry key
is created if it does not exist (Mono only returned the path but did not create
them if they did not exist):
          o CommonAppDataPath
          o CommonAppDataRegistry
          o UserAppDataPath
          o UserAppDataRegistry

This is not documented in MSDN, but .NET handles the CompanyName property
differently than Mono does.  Specifically, if there is no on the assembly or it
has a empty string value, CompanyName returns the name of the EntryPoint of the
assembly's namespace.

These changes are documents in MSDN

"If a path does not exist, one is created in the following format:
Base Path\CompanyName\ProductName\ProductVersion"

"Property Value:
A RegistryKey representing the registry key of the application data
that is shared among all users.
If the key does not exist, it is created in the following format:

Attached to this bug are a patch for the bug as well as a test case to prevent

Configure bugmail: https://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