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.

Solution:

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 (2) -

  • Gilberto

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

    Good stuff!!

  • ZlGeaEbocAg6w4

    7/20/2018 1:25:07 AM |

    620229 114508So will be the green tea i buy in cans the same as the regular tea you�d buy to put inside your morning cup? I�ve been told is just normal green tea created to be cooler, but does it have any affect as far as not speeding up your metabolism as quick as normal hot green tea? 516155

Loading