Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Neutral Resources Languages for Localization 

The NeutralResourcesLanguageAttribute class specifies the culture of the resources included in the main assembly. This attribute is used as a performance enhancement, so that the ResourceManager object does not search for resources that are included in the main assembly.

The following code shows how to set the neutral resources language. The code can be placed in either a build script or in the AssemblyInfo.vb or AssemblyInfo.cs file.

// Set neutral resources language for assembly.
[assembly: NeutralResourcesLanguageAttribute("en")]

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.