Multiple types were found that match the controller named 'Home' - In two different Areas

后端 未结 3 645
情歌与酒
情歌与酒 2021-01-04 05:07

I have two areas in my project. Now when I run the program I get this error:

Multiple types were found that match the controller named \'Home\'. This can h         


        
3条回答
  •  执念已碎
    2021-01-04 05:26

    I got this error after doing a rename of my project namespace/assembly.

    If you renamed the Namespace/Assembly you might have a leftover assembly/dll from the previous name in your bin folder. Just delete it from there and it should work.

提交回复
热议问题