title: Why does ResourceManager.GetResourceSet return null on the first request after a build? (C#)
body: <p>I'm working on a large-ish web application built in C# (asp.net). I've got a simple aspx page that serves localized strings to the client browser for use in javascript controls.  To get the strings, I do the following: </p>
  
  <pre><code>ResourceManager _resources = new ResourceManager(_pathname, typeof(ARM).Assembly);
  ResourceSet rs = _resources.GetResourceSet(culture, false, false);
  
  //loop through rs and write the keys &amp; values out to the client in plaintext
  </code></pre>
  
  <p>This all works fine, except for the first request to the page immediately after a Clean/Build or a Rebuild (if I simply make some changes, then Build, it works fine). So on the first request I get a null reference exception when I try to iterate the ResourceSet.  If I refresh the page after the error, however, it works fine from then on.</p>
  
  <p>Does anyone know why this might be happening?</p>