locked
auto update based on the design RRS feed

  • Question

  • User629360359 posted

    let's say:

    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? 

    Monday, November 11, 2013 1:13 AM

Answers

  • User-276842610 posted

    Hello,

    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

    http://msdn.microsoft.com/en-us/library/fw69ke6f.ASPX

    Hope this helps, thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 19, 2013 2:51 AM