Macro for generate resource from all pages RRS feed

  • Question

  • How can I extend Visual Studio or create a macro that allows me to generate a local resource for all pages automatically? I have about 500 pages and UserControls, and it's difficult to generate resources for every page individually
    Thursday, July 29, 2010 6:57 PM


  • Hello Shahin,

    As far as I know, you can create a Macro/Add-in to do it. About how to write a Macro to do it, I would suggest you record a Macro which generate a local resource file with Visual Studio, and refer to this code to write your Macro.

    To record a Macro, you can navigate to Tools > Macros > Record TemporaryMacro.

    And for your reference, please see How to: Create Resource Files for ASP.NET Web Sites (Visual Studio) .

    Best Regards,

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Monday, August 2, 2010 3:37 AM