How to do to specify the directory where I want install package? Because I need install packages in a project where others devs work and when they do download of the project they need have all packages in your pc.
相关问题
- Generic Generics in Managed C++
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- How to Debug/Register a Permanent WMI Event Which
- Visual Studio 2019 - error MSB8020: The build tool
You can now change the default
$(SolutionDir)\packages
folder. See this thread: Is it possible to change the location of packages for NuGet?The packages go in $(SolutionDir)\packages. You have two options:
I'd recommend not checking the packages folder in, since binary files in DVCS make for slow clones :-( In the next version of NuGet, you won't need NuGetPowerTools to avoid checking it in :-)
Use
-OutputDirectory
.From NuGet CLI reference.