How to resolve “The type or namespace name system could not be found” and “Predefined type system object is not defined or imported” errors in a .Net project c#?

Install the latest version of System.Runtime Nuget package or add a reference to System.Runtime from “Add references”.

Clean and rebuild the project once Reference is added.

PM> Install-Package System.Runtime


Read More