4
下面的代碼來自生成的AssemblyInfo文件。這是否意味着MS建議我手工修改.csproj文件?通過環境?NeutralResourcesLanguage Usage
如果是通過設置,那麼NeutralResourcesLanguage屬性有什麼用處?你應該如何在代碼中訪問它。
乾杯,
Berryl
//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)]
謝謝,但VS Express不添加**,UltimateResourceFallbackLocation.Satellite **。所以你必須打開AssemblyInfo.cs並手動添加突出顯示的文本 – Dmitriy 2012-02-02 15:13:40