Paket


paket find-refs

Finds all project files that have the given NuGet packages installed.

1: 
paket find-refs [--help] [group <name>] nuget [<package name>...]

OPTIONS:

1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
group <name>          Allows to specify a group. If omitted the Main group is used.
nuget [<package name>]
                      List of packages.
--verbose, -v         Enable verbose console output for the paket process.
--log-file <path>     Specify a log file for the paket process.
--silent, -s          Suppress console output for the paket process.
--version             Display the version.
--from-bootstrapper   Call coming from the '--run' feature of the bootstrapper.
--help                display this list of options.

If you add the -v flag, then Paket will run in verbose mode and show detailed information.

With --log-file [FileName] you can trace the logged information into a file.

Sample

.src/Paket/paket.references contains:

1: 
2: 
UnionArgParser
FSharp.Core

.src/Paket.Core/paket.references contains:

1: 
2: 
3: 
Newtonsoft.Json
DotNetZip
FSharp.Core

Now we run

1: 
paket find-refs DotNetZip FSharp.Core

and paket gives the following output:

1: 
2: 
3: 
4: 
5: 
6: 
DotNetZip
.src/Paket.Core/Paket.Core.fsproj

FSharp.Core
.src/Paket.Core/Paket.Core.fsproj
.src/Paket/Paket.fsproj
Fork me on GitHub