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
I had the same error while creating a new solution based on elements (forms, classes, resources, etc.) from another project with different name.
Since my resources namespace was "My.Resources" as @denis pointed out previously, I tried to regenerate resources namespace by doing right click over "Resources.resx" in solution explorer and click on "Run custom tool"... That displayed a window that shows a message saying that some icons declared in XML were not present in the system.
Since I did a search and replace on the entire solution looking for the old name and changing to the new one, that affected the XML file where resources are declared. Changing the icon file name did the trick.