Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Is it better to install a nuget package per project, or globally for the whole solution?

$
0
0

When installing a nuget package, is there any decrease in compilation time/performance from installing it globally for the entire solution?

For example, say I need Newtonsoft.Json for a particular task in one project. The other projects currently don't need it, but there's a chance they will in the future.

Is there any downside to installing it in all projects in the solution at the start? Or is it better to install it only in the projects I need it, and add it to others later?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>