title: Get value from resx in Class Library
body: <p>I created an <code>App_GlobalResources</code> folder and added relevant resx files for the appropriate country in an ASP Net site.</p>
  
  <p>I then add a key and value to the file. All displays on the site as required.</p>
  
  <p>I am now trying to retrieve the value from this resx file from a class library, mainly using the below code</p>
  
  <pre><code>ResourceManager lang = new ResourceManager("Resource.en-AU",  Assembly.Load("App_GlobalResources"));
  string value = lang.GetString(Key);
  return value;
  </code></pre>
  
  <p>but the code crashes (second line) with the error </p>
  
  <p><strong><em>Additional information: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Resource.en-AU.resources" was correctly embedded or linked into assembly "App_GlobalResources.ufgcy-ty" at compile time, or that all the satellite assemblies required are loadable and fully signed.</em></strong></p>
  
  <p>So i then tried </p>
  
  <pre><code>ResourceManager myManager = new ResourceManager(typeof("NOTHING AVAILABLE HERE"));  // Seems like its expecting a resource file but since its a class library i cant do this
  string myString = myManager.GetString("StringKey");
  </code></pre>
  
  <p>This leads me to believe that i need another way to retrieve the value from a country resx file in a Class Library but not seeing any examples of how to do this OR i need to move the existing resource files from the website to the Class Library and then copy over to the site everytime i make a change but i dont know if this is the correct approach?</p>