Designer fails - My.Resources.Resources' has no property named

It appears that you are missing items required to load this form in your application Resources.

You can access the Resources of a project by right-clicking the project and selecting Properties. Then, clicking on Resources from the left pane.

Project Resources

The errors you receive indicates that items required to load this form in your application which is supposed to be loaded from the Resources are not found. In most cases, these items can be Images

You may want to change the designer code or restore the items missing back to Resources.

Notice: Resources might be Strings, Images, Icons, Audio, Files or Others.

Thanks,
I hope you find this helpful :)


I had the same problem after changing the namespace of the project. After that I received the same error message and was looking in this post and none of the solutions worked for me. Now that I have found the solution, I write it here to guide other developers struggeling with the same problem.
The reason of the problem was that changing the namespace didn't change the "Default namespace". To change the "Default namespace":

  1. Right click on the project and select properties
  2. On the left panel select "Application"
  3. Set the correct "Default namespace".

This can happen if your project references itself.

Visual Studio randomly does this automatically when some controls/forms defined in the project use other (user-)controls defined in this same project.

You can safely remove the self-reference in the project's "References" node.

Then rebuild and the designer should reload without these errors.


I know this is a very old post but people will get this error, they will find this post and they will have pulled most of their hair out by the time they see this, however, this is what i've found:

  1. It's not you, it's MS. I'm using VS 2015 and i still get this!
  2. I've found that it occurs when somehow the project references itself
  3. It's not always visible under the references node

To resolve:

  1. Do a clean
  2. Delete the BIN folder
  3. ON PURPOSE reference the projects output exe file
  4. Compile
  5. Close and Open VS
  6. Check your reference node, you should see the self referenced exe with an exclamation, delete the reference
  7. Do another build

I find at this point my problem is resolved and i can continue working (for that day at least)

Hope this helps people that only became bald when using MS products!

Tags:

.Net

Winforms