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

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

    If you copy&paste your pages don't forget to rename class names. Otherwise you get this error also with "Type already defines a member called 'OnGet' with the same parameter types"

提交回复
热议问题