Error: The type exists in both directories

前端 未结 19 2023
北恋
北恋 2020-12-14 14:13

In a MVC2 project I moved a file from App_code to Content folder and compiled it. Then move it back again to App_Code and then changed its Build Action to \"Compile\". Now I

19条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 15:00

    I tried pretty much every suggestion on this page, but had to delete visual studio 2017 completely off my machine. I reinstalled the latest version (2019) and it magically worked. I hope this helps someone in the future.

提交回复
热议问题