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

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

    The previous solutions here did not work for me.

    The 'Resources' is not a member of 'My' was caused by trying to add an icon to a button. I tried running the custom tool on the Resources.resx and kept getting an error.

    My solution was to go into My Project > Resources and remove the added icon. Once that was done I did a clean & rebuild. That did the trick for me.

提交回复
热议问题