Home > Blockchain >  Visual studio not recognizing System
Visual studio not recognizing System

Time:05-10

Probably a simple question but I'm just coming back to using visual studio after years of intellij.

Visual studio recognizes none of the classes from the system namespace. Something is clearly wrong with my dependencies, but I have no idea what or where to find what's wrong. This is in Visual Studio Community 2019 if that helps.

enter image description here

If I have to reinstall .net or something like that please instruct me well, made mistakes there before and I find it really hard to know what I'm doing in that department.

CodePudding user response:

The solution to solve the problem is opening a command prompt at the root of the project, execute dotnet restore.

The dotnet restore command uses NuGet to restore dependencies as well as project-specific tools that are specified in the project file.

  • Related