How to fix the 'Resources' is not a member of 'My'

后端 未结 23 1478
醉话见心
醉话见心 2021-01-17 09:54

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

23条回答
  •  孤独总比滥情好
    2021-01-17 10:36

    In My case the simple fix was

    1. Edit the resources.resx file to not have duplicate entries as mentioned above.
    2. Remove Last Entries you Entered, could be causing the problem
    3. Go to the 'My Project' section for you application.
    4. Change the application type from Windows Forms Application to Class Library, then change it back.
    5. In my case that hooked up the My.Resources again.

提交回复
热议问题