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

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

    Had more luck changing "My.Resources" to "MyResources" and changing the Access Modifier of "Resources.resx" to Public (it was previusly Friend Access Modifier)

    Fixed the error for me

提交回复
热议问题