Last post Nov 19, 2013 02:51 AM by Yanping Wang - MSFT
Nov 11, 2013 01:13 AM|melvintcs|LINK
1. i have a control named Label1
2. I go TOOLS>GENERATE LOCAL RESOURCE
3. Delete Label1, create Label2
4. TOOLS>GENERATE LOCAL RESOURCE
Now, Label1 is still inside my .resx(as well as my other old controls), any way to make it auto delete?
Nov 19, 2013 02:51 AM|Yanping Wang - MSFT|LINK
Base on my experience, the operation of GENERATE LOCAL RESOURCE only check if any control resources added/update, but not remove the resource for deleted controls.
For that, if you want to the removed controls not appear in resource file, you can delete the resource file, and then choose "GENERATE LOCAL RESOURCE", which will generate a new resource file based on individual page name.
#Walkthrough: Using Resources for Localization with ASP.NET
Hope this helps, thanks.