C# Predefined type 'System.Object' is not defined or imported
- close VS
- delete the
bin
,obj
and.vs
(may be hidden) folders - manually run
dotnet restore
- reopen the project in VS
That fixes most things.
bin
, obj
and .vs
(may be hidden) foldersdotnet restore
That fixes most things.