Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0

Tags:

c#

asp.net-mvc

I am using .net Framework 4.5.2. I am running MVC application. As i got new laptop I am getting the issue when running the MVC Application.

ERROR:

The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Microsoft Studio Professional 2017 Version : 15.9.12

In other teammates VS version is 15.8.1. Where it is running without any issue.

I have also installed MVC 4 and Missing plugins. Still, I am getting this issue.

please suggest to me what I need to do.

Thanks!

like image 268
user2247651 Avatar asked Sep 16 '25 15:09

user2247651


1 Answers

Deleting Bin and Obj folders worked for me.

like image 192
SharpCoder Avatar answered Sep 19 '25 08:09

SharpCoder