【发布时间】:2012-01-21 06:19:46
【问题描述】:
下面的措辞来自生成的 AssemblyInfo 文件。这是否意味着 MS 建议我手动修改 .csproj 文件?通过设置?
如果是通过设置,那么 NeutralResourcesLanguage 属性有什么用?你应该如何在代码中访问它。
干杯,
浆果
//In order to begin building localizable applications, set
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
//inside a <PropertyGroup>. For example, if you are using US english
//in your source files, set the <UICulture> to en-US. Then uncomment
//the NeutralResourceLanguage attribute below. Update the "en-US" in
//the line below to match the UICulture setting in the project file.
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
【问题讨论】:
标签: .net wpf visual-studio silverlight resources