title: Resource (resx) file import
body: <p>I have problem after importing resource files from one project to another.</p>
  
  <p>I work with Visual Studio Ultimate 2013, C#, Visual Online.</p>
  
  <p>I have Resource files in my projects. When I create a new project and import files and these resources to a new project, MY_RESOURCE.Designer.cs is not in its own MY_RESOURCE.resx section - it is next to it.</p>
  
  <ul>
  <li><p>Normally, order of Resource files must be like this:</p>
  
  <p><a href="https://i.stack.imgur.com/dAupO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dAupO.png" alt="Right order"></a></p></li>
  </ul>
  
  <hr>
  
  <ul>
  <li><p>But, in new project, it is like this - after importing:</p>
  
  <p><a href="https://i.stack.imgur.com/2kPvK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2kPvK.png" alt="Wrong order"></a></p></li>
  </ul>
  
  <p>Also, in project's file (.csproj) I found, that structure of these files are different.</p>
  
  <ul>
  <li><p>Normally:</p>
  
  <pre><code>&lt;Compile Include="Resources\Main\Main.en-US.Designer.cs"&gt;
    &lt;AutoGen&gt;True&lt;/AutoGen&gt;
    &lt;DesignTime&gt;True&lt;/DesignTime&gt;
    &lt;DependentUpon&gt;Main.en-US.resx&lt;/DependentUpon&gt;
  &lt;/Compile&gt;
  ...
  &lt;EmbeddedResource Include="Resources\Main\Main.en-US.resx"&gt;
    &lt;Generator&gt;PublicResXFileCodeGenerator&lt;/Generator&gt;
    &lt;LastGenOutput&gt;Main.en-US.Designer.cs&lt;/LastGenOutput&gt;
  &lt;/EmbeddedResource&gt;
  </code></pre></li>
  </ul>
  
  <hr>
  
  <ul>
  <li><p>After import:</p>
  
  <pre><code>&lt;Compile Include="Resources\Main\Main.en-US.Designer.cs" /&gt;
  ...
  &lt;EmbeddedResource Include="Resources\Main\Main.en-US.resx" /&gt;
  </code></pre></li>
  </ul>
  
  <p>I found some solutions like this problem's, to change Recourse's "Access Modifier" property (in it) from "No code generation" to "Public", but after this, resx file creates new child - MY_RESOURCE1.Designer.cs (not my MY_RESOURCE.Designer.cs), so this is not solution for my problem.</p>
  
  <p>So, insted of importing them, I have to create new Resource file and copy and paste the words from the old project's resource files to new one.</p>
  
  <p>Can someone advice me the way to bind a Designer.cs file to resx file insted of copy-paste..?</p>