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

后端 未结 29 1446
深忆病人
深忆病人 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:51

    I had this problem. It was due to me renaming a folder in the App_Code directory and releasing to my iis site folder. The original named folder was still present in my target directory - hence duplicate - (I don't do a full delete of target before copying) Anyway removing the old folder fixed this.

提交回复
热议问题