Skip to content

[Built-in analyzer] EmbeddedResource item is missing the Culture metadata #9882

@ladipro

Description

@ladipro

Background

This issue tracks one of the BuildCheck analyzers we would like to ship in-box with MSBuild.

Goal

Implement an analyzer with the following rule: EmbeddedResource items should not be defined without the Culture metadatum.

Notes

When Culture is missing, the culture is inferred from the file name. This is using the culture-name mapping of the currently running .NET runtime, which hurts build reproducibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: BuildCheckBuildCheck SuggestionSuggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions