Important If you edit the packageRestore settings directly in nuget.config, restart Visual Studio so that the options dialog box shows the current values. Other potential conditions. You may encounter build errors due to missing files, with a message saying to use NuGet restore to download them.
However, running a restore might say, 'All packages are already installed and there is nothing to restore.' In this case, delete the packages folder (when using packages.config) or the obj/project.assets.json file (when using PackageReference) and run restore again. If the error still persists, use nuget locals all -clear or dotnet locals all -clear from the command line to clear the global-packages and cache folders as described on. When obtaining a project from source control, your project folders may be set to read-only. Change the folder permissions and try restoring packages again. You may be using an old version of NuGet.
Restoring Nuget packages hangs when building a solution with both aspnet 5 and mvc 5 project #419. I see it gets stuck in Nuget package restore on MVC5 project for a long time. To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to. Mar 9, 2017 - Today, I want to open my.Net Core project in my Mac via Visual Studio for Mac, The project created by Visual Studio 2017. After clone this.
Check for the latest recommended versions. For Visual Studio 2015, we recommend 3.6.0. If you encounter other problems, so we can get more details from you.