When you add a nuget package to a project, it places assemblies in the / packages folder at the solution level.
I know there are ways to change this, but I wonder why this is the default location, as it seems very useless for the following reasons:
1) If you have a project that is part of several solutions, the / packages folder will not necessarily be where you expect it to be.
2) It is expected that you manually check it in the initial control for other team members, which is much less convenient than if it were part of the project that he needs.
3) If you move the project somewhere else on the file system or to another machine that does not have a complete code base, it will not find the / packages folder in which it calculates.
It seems that all of this will be resolved if NuGet just uses the / packages folder inside the project and not the solution. And this seems like a much more logical place to place the packages on which the project basically relies.
So ... I assume that there are / there are good reasons for this at the decision level, and I hope that someone can enlighten me.
nuget nuget-package
chrismay
source share