title: Global resources can't be resolved after publishing Website in VS2008
body: <p>I have a web-project running in VS 2008. We have some global resource files (*.resx) in the App_GlobalResources folder for internationalisation. All this works like a charm on my local IIS installation out of VS.</p>
  
  <p>But when I publish my web-project to the local filesystem and/or another server, all the resources can no longer be found. So I guess the pre-compilation is somehow corrupting stuff. When I call the pre-compiled web, I get an error that the resource object with key xyz cannot be found, although it could be found before.</p>
  
  <p>I checked with .NET reflector if the resource stuff made it into the *.dlls. All those identifiers are there (bin/Web.dll, bin/&lt;culture&gt;/Web.resources.dll). The identifiers are loaded like this:</p>
  
  <pre><code>&lt;asp:MenuItem NavigateUrl="~/OrderNew.aspx" Text="&lt;%$ Resources:MyProject, MenuNewOrder %&gt;" Value="NewOrder"&gt;
  </code></pre>
  
  <p>The resource files are called MyProject.resx and MyProject.&lt;culture&gt;.resx where &lt;culture&gt; corresponds the the specific culture (i.e. MyProject.de-DE.resx).</p>
  
  <p>Any ideas how to solve this?</p>
  
  <p>I really appreciate any help.</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>If I copy the App_GlobalResources folder manually to the output, the resources may be loaded normally. So I really really wonder what this pre-compilation is all about.</p>
  
  <p>I'm still interested in solving the issue "the right way".</p>