Logo Paket

The .paket directory

Paket writes the .paket directory into the root of your repository, next to the paket.dependencies file. It holds:

To install all the packages from the paket.dependencies file, just run the following command.

dotnet paket install

The location of .paket directory and Paket related files is not bound to location of Visual Studio solution file. Paket does not read or look for any solution files. If you have multiple solutions in subdirectories of some root directory, then that root directory is a good place to create .paket directory and put the paket.dependencies file.

The paket install command processes all directories under the root recursively and touch only those projects which have a respective paket.references files. When Paket encounters paket.dependencies files in subdirectories it ignores that subdirectory (and everything under it) entirely, implying that they use an independent paket.lock file and packages directory. The packages directory will be created at the root level for all projects under it.

Type something to start searching.