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

后端 未结 12 1171
别那么骄傲
别那么骄傲 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 21:00

    In my case, I had a project that was still set to build against a beta version of dnx. Changing it to build against the version I was using in the other projects fixed it.

提交回复
热议问题