Culture neutral satellite assemblies


    I’m slapping localization on to an existing product and needed a way to have my culture neutral resources in a satellite assembly. I can’t use embedded resources because I am extracting data from the compiled assembly to use for the resources.

    The solution was to use the assembly attribute: NeutralResourcesLanguageAttribute to indicate what culture should be used as the default culture and use the UltimateResourceFallbackLocation enum to indicate that it should fallback on a satellite assembly. This attribute is new from .NET 2.0 so in 1.1 and 1.0 you will have to embed your culture neutral resources into the main assembly.