KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
For some reason on my current project I create my resource file via the project properties, add a load of existing images. Then go to add these images to menu items, save it. At this point everything looks fine and the images are all mapped correctly. However once I close the designer for that form, then open it up I get the error dialog saying: The type 'My.Project.Properties.Resources' has no property named 'icon_plus'. The annoying thing is that if you follow it through to the code there is no error, it compiles fine: this.newToolStripMenuItem.Image = global::My.Project.Properties.Resources.icon_plus; I have tried deleting all resources and removing the resource file from the project, completely closing down the IDE then re-loading it. I have moved the location of the files, but I am just out of ideas and it is REALLY starting to grate with about 10 forms and controls which each give me this error them remove the icons from the UI.
Tags (comma-separated)
Save Edits
Cancel