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

后端 未结 29 1405
深忆病人
深忆病人 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-05 00:03

    I had this same problem and it was due to naming a function in the code behind the same as my tool. Simple mistake but something to keep in mind as well.

提交回复
热议问题