Skip to content

Support running the libraries tests with UseSystemResourceKeys=true #68707

@tarekgh

Description

@tarekgh

We have msbuild property UseSystemResourceKeys which can be used to strip out all string resources from the libraries. When enabling it, when requesting any string resource value, we'll just return the resource key instead as the library will not have the actual resources. The libraries can contain some string resources which are not for exception messages but can have some special meaning and logic. One example of this is the type converter which can contain resource values affect the runtime behavior of the conversion. CultureInfoConverter doesn't work correctly with UseSystemResourceKeys=true is a good example of that.

The request here is we need to have the capability enabling UseSystemResourceKeys on the libraries tests to validate no library is going to fail with this mode. We may need to have this as a leg in CI at least be opt-in run capability.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions