简体   繁体   中英

Installing Nuget Packages globally

Is there a way to install Nuget Packages globally?

I have a Nuget Package that I would like to use across multiple projects without having to download for each project?

Each project will have its own solution and it will be independent of other project.

NuGet in its current version uses a global package cache.

Have a look at the documentation to find out where it is on your machine. You should also poke around the NuGet configuration file documentation for how to update the global cache location.

Apparently this has been possible for some time... the question has been asked here on SO a couple of years ago. See:

Setting up a common nuget packages folder for all solutions when some projects are included in multiple solutions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM