NuGet Packages Location Settings Precedence

history edit

NuGet

  1. NUGET_PACKAGES User environment variable
  2. NUGET_PACKAGES System environment variable
  3. %APPDATA%\NuGet\NuGet.Config file config/globalPackagesFolder setting
  4. %ProgramFiles(x86)%\NuGet\Config file config/globalPackagesFolder setting

Check current location (new terminal needed for environmental variable change):- nuget locals global-packages -l