How to fix “namespace x already contains a definition for x” error? Happened after converting to VS2010

后端 未结 29 1450
深忆病人
深忆病人 2020-12-04 23:10

Specifically the error occurs in the Resources.Designer.cs:

Error 2 The namespace \'ModulusFE\' already contains a definition for \'Sto

29条回答
  •  执念已碎
    2020-12-04 23:53

    This is not the best solve, but if you really don't care it is an easy solution. I simply renamed my class. So I had class Card and I changed it to MyCard.

提交回复
热议问题