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

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

    I think this issue is because you have added for a single table, 2 DAL classes. If this table is included in a relation, then remove the table_name.dbml for it, and keep that for the related tables. You must use one of them.

提交回复
热议问题