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.
The global-packages folder is where NuGet installs any downloaded package. Each package is fully expanded into a subfolder that matches the package identifier and version number. Projects using the PackageReference format always use packages directly from this folder.
Open %AppData%\NuGet folder, open existing NuGet. Config file. Edit repositoryPath key and set new destination.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With