Skip to content

BaseAttribute HelpText localization can not use internal properties. #477

@ILMTitan

Description

@ILMTitan

PR #356 fixes issue #330 by allowing HelpText to be read from a static property. However, the current implentation restricts the use of internal classes and properties.

Resx files are a common way to store localized text, and MSBuild will automatically generate a class with static properites representing the localized value, by using the resgen utility. By default, resgen will generate an internal class with internal properties.

I propose the visibility restrictions be relaxed, as the reflection code being called works regardless of visibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions