Problem : 

This morning while trying to run my existing project using Visual Studio 2015 and ASP.NET MVC 6 application, i got below error :

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


To make it work  add a dependency to "System.Runtime" in your project.json file :
In my case the current Runtime version was 4.0.21-beta-23225, and my project.json looks like below image ( highlighted )

  • Tags :

Comments (1) -

  • Gilberto

    5/24/2016 3:20:46 PM |

    Good stuff!!