-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Analyzer: prefer explicit culture for EmbeddedResource #9154
Copy link
Copy link
Closed
Labels
Area: Task: GenerateResourceProblems with the task itself, resgen.exe, and resx resources in general.Problems with the task itself, resgen.exe, and resx resources in general.Feature: Warning WavesWarnings to enable in opt-in waves. Formerly "strict mode".Warnings to enable in opt-in waves. Formerly "strict mode".Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releasebacklogtriaged
Description
If you don't specify WithCulture=false or Culture={culture identifier} as metadata on an EmbeddedResource, the AssignCulture task will attempt to determine from the filename whether a file is neutral or belongs to a specific culture. But that can vary by what culture identifiers are known to .NET/the OS on the builder. It's more robust to explicitly specify.
related: https://github.com/MicrosoftDocs/visualstudio-docs/issues/9559
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: Task: GenerateResourceProblems with the task itself, resgen.exe, and resx resources in general.Problems with the task itself, resgen.exe, and resx resources in general.Feature: Warning WavesWarnings to enable in opt-in waves. Formerly "strict mode".Warnings to enable in opt-in waves. Formerly "strict mode".Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releasebacklogtriaged
Type
Fields
Give feedbackNo fields configured for issues without a type.