I tried to run an ASP.NET project but got this error. It's not my own code and I got it from someone.
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package
Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105
I checked this
This project references NuGet package(s) that are missing on this computer
But it was not the solution. I just removed something regarding that but it's not perfect. I want to know the correct reason why this error appears. And if some packages were missed, how can I restore correctly. I enabled auto Nuget restore(Tools/Options/Nuget Package Manager/Package Restore
) but it didn't work.
Another thing is: I checked the source and it doesn't include .nuget folder. But there is .nuget folder in Visual Studio Solution Explore. If I click .nuget/NuGet.ext, then it alerts "It has been renames, deleted or removed". I have no idea about this. Why do this folder and files created in VS even though they don't appear on pc explorer.