MVC App_GlobalResources, use local and publish
<p>I have a problem with GlobalResources</p>

<ol>
<li>I create App_GlobalResources folder</li>
<li>Add User.resx</li>
<li>Add Name = "FirstName", Value = "First name"</li>
</ol>

<p>Default I can't use this resources in my MVC project.
I tried:</p>

<ul>
<li>App_GlobalResources.User.FirstName - did not work</li>
<li>Resources.User.FirstName - it works but only codebehind, when build and start application (local), show error:</li>
</ul>

<blockquote>
  <p>Nie można pobrać właściwości „Name”, ponieważ lokalizacja nie powiodła się. Typ „Resources.Users” nie jest publiczny lub nie zawiera publicznej, statycznej właściwości ciągu o nazwie „FirstName”.</p>
</blockquote>

<p>Which its translation is:</p>

<blockquote>
  <p>Unable to retrieve the properties "Name" as the location failed. Type "Resources.Users" is not a public or does not contain a public static property within named "FirstName."</p>
</blockquote>

<p>Then I change User.resx properties:</p>

<ul>
<li>Build Action: Embedded Resource</li>
<li>Copy to output: Directory Do not copy</li>
<li>Custom Tool: PublicResourceProxyGenerator</li>
<li>Custom Tool Namespace: "empty"</li>
</ul>

<p>Now I can't use <strong>Resources.User.FirstName</strong> I have to <strong>useApp_GlobalResources.User.FirstName</strong></p>

<p>I'm happy it's work. But yesterday is my first publish on the test server and resourses not working...</p>

<p>File does't copy to server...</p>

<p>I change User.resx properties</p>

<ul>
<li>Build Action: Content</li>
<li>Copy to output: Directory Do not copy</li>
<li>Custom Tool: GlobalResourceProxyGenerator</li>
<li>Custom Tool Namespace: "empty"</li>
</ul>

<p>Copy files but the application throws the same previous exception which I shared above and resources not work in localmachine, any advice?</p>