שתף באמצעות


How to fix crashed resources?

Question

Friday, May 6, 2011 9:56 PM

I imported an image with a conflicting name as an image file in resources. Then the project crashed. I can't open the resources. It only shows a message as "There is already another resource with the name 'Cr'."  The compile errors show that "'Resources' is not a member of 'My'". How to fix this problem?

Thank you.

 

 

All replies (4)

Saturday, May 7, 2011 2:23 PM ✅Answered

Are you wanting to replace the original image file that you had named "CR" or are you just wanting to include the new image?

You should be able to remove the original image from the resources available if you are wanting to switch to the new image. Otherwise you may want to rename the new image or remove it and re-import the image with a modified name to avoid conflict.

Also what version of VS are you using?

Paul T.


Thursday, May 12, 2011 9:15 AM ✅Answered | 2 votes

Hello fea4you,

What's the situation on your side now? Please try below steps to check the result on your side

1. Closed the project.
2. Deleted the application path/My Project/Resources.resx
3. Restarted the project and re-added all the resources  

If you have any concerns, please feel free to follow up.

Best regards

Liliane Teng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Thursday, May 12, 2011 9:44 AM | 1 vote

Go to solution explorer

Than do in top Show All files.

Than open the resource manager tag which shows up and adjust the generated code which you see as designer file.

Be aware it is not direct the most maintainable code with what you are confrontated.

 

Success
Cor


Sunday, April 13, 2014 2:06 PM

Hi,

i have the same problem , I deleted resources.resx restarted the project but  the forms are not working

Msgbox appears "Their is no editor available for (form path) make sure the application for the file type (.vb) is installed

HELP me