nuget-package-restore
Assets file project.assets.json not found. Run a NuGet package restore
To fix this error from Tools > NuGet Package Manager > Package Manager Console simply run: dotnet restore The error occurs because the dotnet cli does not create the all of the required files initially. Doing dotnet restore adds the required files.
How do I enable NuGet Package Restore in Visual Studio?
It took far too long but I finally found this document on Migrating MSBuild-Integrated solutions to Automatic Package Restore and I was able to resolve the issue using the methods described here. Remove the ‘.nuget’ solution directory along from the solution Remove all references to nuget.targets from your .csproj or .vbproj files. Though not officially … Read more