title: How to fix the 'Resources' is not a member of 'My'
body: <p>I am using VS2010 and in all of my projects "My.Resources" is available and shows all the files that are in the "resources" section of the project. In this one project I have a bunch of resource files in the project but the compiler complains:</p>
  
  <pre><code>'Resources' is not a member of 'My'
  </code></pre>
  
  <p>Where I do:</p>
  
  <pre><code>Private lockedImage = My.Resources.myfile
  </code></pre>
  
  <p>How do I fix this?</p>