instead to add a resx file yourself, try to change the Language property in the Properties sheet for your page

解决方案 »

  1.   

    sorry, that is only valid for windows.forms
      

  2.   

    for asp.net, seeASP.NET Resources
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-globalarchi.aspYou must manually add culture-specific resources to the project, since there is currently no IDE support for thisotherwise, try to modify the csproj file, for example <File
                        RelPath = "WebForm1.aspx"
                        BuildAction = "Content"
                    />
                    <File
                        RelPath = "WebForm1.aspx.cs"
                        DependentUpon = "WebForm1.aspx"
                        SubType = "ASPXCodeBehind"
                        BuildAction = "Compile"
                    />
                    <File
                        RelPath = "WebForm1.aspx.resx"
                        DependentUpon = "WebForm1.aspx.cs"
                        BuildAction = "EmbeddedResource"
                    />
                    <File
                        RelPath = "WebForm1.en.resx"
    DependentUpon = "WebForm1.aspx.cs"
                        BuildAction = "EmbeddedResource"
                    />or you may be able to do it by writing a custom template wizard and modify the default.js to add the dependency
      

  3.   

    思归,這樣改大麻煩了
    我想要的是如何在VS.NET發開界面上如何實現
      

  4.   

    没有简单的方法,你也许需要写自己的Custom Wizard,改动JS脚本,需要分析文件名,找到相应源码文件,把资源文件设成其依赖项,
      

  5.   

    用這種方法實現,microsoft寫的東西真是的,