Run "Tools -> Generate Local Resource" command for each .aspx and .ascx file. You can get source code of this tool from github:https://github.com/cuiliang/AutoResx How to use: - Open your webform project.
- Open Visual studio menu: Tools -> AutoResx
- Select options
- Witch project to process
- How many files to process. Select ALL if you want to process all files, or a little number for test purpose.
- Select how long time to wait for Design view ready. We must wait for the view ready before we can call Tools.GenerateLocalResource command.
- Select if the 'Tools.GenerateLocalResource' command still not available, how long time will we waite more.
- Select how long time to wait for saving files.
- "Clear....": this option is for regenerate the whole resx file. You will keep the old data if this option not selected.
- Click 'OK', the process will begin.
| |