globalPackagesFolder repositoryPath difference

后端 未结 2 566
春和景丽
春和景丽 2021-01-12 13:38

According to globalPackagesFolder NuGet Documentation, it allows you to change the location of the default global packages folder instead of Users{username}.nuget\\packages.

2条回答
  •  旧时难觅i
    2021-01-12 13:45

    The globalPackagesFolder is a global cache of NuGet packages. This is where NuGet downloads NuGet packages to as a machine cache. NuGet may clean out the cache when too many packages are stored here.

    The repositoryPath is the packages directory a solution will use. It is usually a path relative to the solution. It can however be a global folder on your machine but typically it would not be the same as NuGet's global machine cache.

提交回复
热议问题