https://bugzilla.novell.com/show_bug.cgi?id=361709
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@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@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 (http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.commonappdatapath(vs.80).aspx): "If a path does not exist, one is created in the following format: Base Path\CompanyName\ProductName\ProductVersion" (http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.commonappdataregistry(VS.80).aspx): "Property Value: A RegistryKey representing the registry key of the application data that is shared among all users. Remarks: If the key does not exist, it is created in the following format: LocalMachine\Software\CompanyName\ProductName\ProductVersion Attached to this bug are a patch for the bug as well as a test case to prevent regressions. -- 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. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs