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

后端 未结 23 1185
醉话见心
醉话见心 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:33

    According to Denis solution: I am adding little more details with his answer.

    Step 1 Click on Show All Files button.

    Step 2 Click on expand button left to My Project.

    Step 3 Right click on Resources.resx.

    Step 4 Click on Properties.

    Step 5 - Change the name My.Resources to anything example My.ResourcesRepair then save changes and again name it back to My.Resources and save changes and then rebuild.

提交回复
热议问题