Last post Sep 19, 2006 10:46 AM by giovannip
Sep 19, 2006 10:46 AM|giovannip|LINK
I am having a problem with the following: When attempting to apply the DescriptionAttribute (or any attribute) to a class property (which is later bound to a PropertyGrid) using the following syntax, everything works properly:
DescriptionAttribute("Specifies the server manifest file name.")
Since my application has to be globalized/localized, I am attempting to do the following which retrieves the language specific string from a resource file:
I receive an error stating that it requires a constant; basically telling me that My.Resources.Errors.ServerManifestFileRequired is not a valid string.
I have tried adding the .ToString, and the Convert.ToString(My.Resources.Errors.ServerManifestFileRequired), but to no avail. Can anyone help me with this?