Predefined type 'System.Object' is not defined or imported .net 4.6

后端 未结 12 1172
别那么骄傲
别那么骄傲 2021-02-06 20:02

I\'m using MVC 5 and .net 4.6 to create a web API that my mobile app can connect too.

Whenever I build the project I get hundreds of errors telling me that I need to add

12条回答
  •  时光说笑
    2021-02-06 20:39

    This wasted lot of my time. Close the visual studio. Delete the .vs folder and restart visual studio. Everything should work fine.

    Usually this happens when you change branches or merge branches.

提交回复
热议问题