locked
Accessing .resx RRS feed

  • Question

  • User-551762680 posted

     I've a aspx page that needs to access resource file (.resx) in a different location instead of the App_LocalResources folder within the same directory.  How can I do that?

     

    Thanks in advance.

    Thursday, March 26, 2009 1:32 AM

Answers

  • User1622957740 posted

     When you say access a .resx file what do you mean exactly?

    .resx resources are just XML files and there's a build provider in ASP.NET that turns these into an assembly. They must live in App_GlobalResources or App_LocalResources otherwise this process does not work correctly.

    So unless you end up parsing the RESX xml data on your own somehow you can't put them into a different location.

     

    +++ Rick ---

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, March 28, 2009 10:18 PM