Paket


The .paket folder

The .paket folder is used the same way a .nuget folder is used for the NuGet package restore.

Place this folder into the root of your repository. It should include the paket.targets and paket.bootstrapper.exe files which can be downloaded from GitHub. The bootstrapper will always download the latest version of the paket.exe file and it will be placed into the same folder.

Now, to install all the packages from the paket.dependencies files, just run the following command.

1: 
.paket/paket.exe install

The location of .paket folder and Paket related files is not bound to location of Visual Studio solution file. Paket does not read or look for any solution files. In case you have multiple solutions in subfolders of some root folder, then that root folder would be a good place to put .paket folder and the paket.dependencies file there. .paket/paket.exe install command processes all folders under the root recursively and touch only those projects which have paket.references file in their folder. When Paket encounters paket.dependencies files in subfolder it ignores that subfolder (and everything under it) completely, implying that they use an independent paket.lock file and packages folder. packages folder would also be created at the root level for all projects under it.

Fork me on GitHub