title: How can I access embedded resources in a C# project?
body: <p>Most of the threads I've read about this question answer that you just have to access them like this:</p>
  
  <pre><code>&lt;MyProjectNamespace&gt;.Properties.Resources.&lt;MyResourceName&gt;
  </code></pre>
  
  <p>But at the build process I have this message:</p>
  
  <pre><code>&lt;MyProjectNamespace&gt; does not contain a definition for 'Properties'
  </code></pre>
  
  <p>It seems that the class 'Properties' is normally auto-generated by the IDE when you add resources to your project.</p>
  
  <p>The fact is that I'm working on Eclipse and I don't really know how to add resources, but I managed to generate a .resx file from Visual Studio (which I use to design my Windows form) that I added to Nant .build file as a 'resource', along with my bitmaps. Then it indeed embed the resources, but I can't access them...</p>
  
  <p>So how can I embed resources in my application (normally), and access them, using Eclipse + Emonic + Nant to build it?</p>
  
  <p>Thanks,</p>
  
  <p>Paul.</p>