.Net Core and NuGet

Update:

  1. The nuget packages are installed in a global location. By default it used to be ..\Users\[YourUserFolder]\.dnx\packages but it appeared to have changed to ..\Users\[YourUserFolder]\.nuget\packages

In NuGet 3+, you can use the NuGet CLI’s following command to get the global-packages folder location

nuget locals global-packages -list

Check out following links for more details about NuGet

  • http://blog.nuget.org/20151008/NuGet-3-What-and-Why.html

  • https://docs.nuget.org/ndocs/consume-packages/configuring-nuget-behavior

  • https://docs.nuget.org/ndocs/tools/nuget.exe-cli-reference#locals


  1. The default ASP.Net template has so many packages. Since you tried first time, it tried get all those 100s of packages

  2. You already had those packages in your nuget global locations, it skipped the restore.

  3. Delete all contents under packages folder (location indicated in 1)

  4. Some of the beta packages are there. You can go to project.json file (available under the web root) and play with the dependencies section.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)