I'm currently working on some improvements in this area for the next release. However, GenerateLocalResources/App_LocalResources should work with the current release. Also, App_GlobalResources works for the most part. The one thing that you can't do is access global resources with strong types in code behind files. You can, however, access them with strong types in server script blocks. Also, resource expressions work fine.
The improvement I've added so far are these:
- Menu commands for adding App_GlobalResources and App_LocalResource folders
- .resx files added to App_LocalResources set with BuildAction="Content" and CustomTool=""
- .resx files added to App_GlobalResources set with BuildAction="Content" and CustomTool="GlobalResourceProxyGenerator"
- .resx added to other project directories work just like client libraries -- the BuildAction="EmbeddedResource" and CustomTool="ResXFileCodeGenerator"
- The GlobalResourceProxyGenerator creates file.designer.cs files nested behind neutral culture .resx files that provide strong type access to resources in App_GlobalResources. For instance: string str = Resources.Resource1.String1;
We may change design somewhat. I'm thinking of getting rid of the GlobalResourceProxyGenerator CutomTool and instead generating the custom proxies without having to set a tool. I might also place the proxies under Properties/MyProject folders. Another thought is to create a proxy assemby reference so that at run-time the strong types are accessed directly instead of through the proxy.
If you have any suggestions or know of other things that don't work as expected please let me know.