Assets file project.assets.json not found. Run a NuGet package restore

By | May 24, 2020

This is due to the dotnet cli does not create/install the all of the required files initially.

After Doing dotnet restore it adds the all required/missing files.

dotnet restore

To fix this error from Visual Studio Editor

Go to Tools > NuGet Package Manager > Package Manager Console

Type dotnet restore and enter.