title: Resource files not detected when using restext files
body: <p>I am working on the HealthVault SDK from Microsoft, I am trying to include a few translations for the text resources provided with SDK.</p>
  
  <p>This is a piece of resource file used</p>
  
  <p>resources.restext</p>
  
  <pre><code># Used in many files
  ListSeparator=, 
  ListFormat=, {0}
  GroupSeparator=;
  GroupFormat=; {0} 
  Range={0} - {1}
  DateRange={0} to {1}
  </code></pre>
  
  <p>This is the code that initializes the Resource manager.</p>
  
  <pre><code>private static ResourceManager InitRMWithAssembly(
          string baseName,
          Assembly assemblyToUse,
          Type usingResourceSet)
      {
          ResourceManager rm = null;
  
          if (usingResourceSet != null &amp;&amp;
              baseName != null &amp;&amp;
              assemblyToUse != null)
          {
              rm =
                  new ResourceManager(
                      baseName,
                      assemblyToUse,
                      usingResourceSet);
          }
          else if (usingResourceSet != null &amp;&amp;
                   baseName == null &amp;&amp;
                   assemblyToUse == null)
          {
              rm = new ResourceManager(usingResourceSet);
          }
          else if (usingResourceSet == null &amp;&amp;
                   baseName != null &amp;&amp;
                   assemblyToUse != null)
          {
              rm = new ResourceManager(baseName, assemblyToUse);
          }
          else
          {
              throw new ArgumentException("assemblyToUse cannot be null", "assemblyToUse");
          }
  
          return rm;
      }
  </code></pre>
  
  <p>where baseName is <code>resources</code>, assemblyToUse is <code>Assembly.GetCallingAssembly()</code>.</p>
  
  <p>The default strings are present in a text file named <code>resources.restext</code>. I wish to translate a few strings to Swedish and I added <code>resources.sv-se.restext</code> and made the translations. When I built the project, Satellite assembles were created in the <code>bin</code> folder inside a folder named <code>sv-se</code>. But the strings are still taken from the default resource file. I modified the default file and the changes are reflected immediately.</p>
  
  <p>I tried loading the dll manually and the manifest names consisted of a name <code>Microsoft.Health.ItemTypes.resources.sv-se.resources</code>. I initialized the <code>ResourceManager</code> with that name and the same assembly.</p>
  
  <pre><code>var rm = new ResourceManager("Microsoft.Health.ItemTypes.resources.sv-se.resources", assembly);
  rm.GetString("Key"); // Causes MissingManifestResourceException
  </code></pre>
  
  <p>However, I tried and was able to get the key by using the following</p>
  
  <pre><code>var rm = new ResourceManager("Microsoft.Health.ItemTypes.resources.sv-se", assembly); // manifest name - trailing resources
  rm.GetString("Key"); // works!
  </code></pre>
  
  <p>My question is this:</p>
  
  <p>What is the correct way to use <code>ResourceManger</code>? Should the satellite assembly be passed to the RM constructor? and how must be the resource files named, so that I do not have to edit the manifest name to create the resource manager instance?</p>