user2247651
user2247651

Reputation: 145

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

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!

Upvotes: 4

Views: 10803

Answers (1)

SharpCoder
SharpCoder

Reputation: 19165

Deleting Bin and Obj folders worked for me.

Upvotes: 6

Related Questions