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 omited 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 comming 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
Multiple items
module List

from Microsoft.FSharp.Collections

--------------------
type List<'T> =
  | ( [] )
  | ( :: ) of Head: 'T * Tail: 'T list
  interface IEnumerable
  interface IEnumerable<'T>
  member GetSlice : startIndex:int option * endIndex:int option -> 'T list
  member Head : 'T
  member IsEmpty : bool
  member Item : index:int -> 'T with get
  member Length : int
  member Tail : 'T list
  static member Cons : head:'T * tail:'T list -> 'T list
  static member Empty : 'T list

Full name: Microsoft.FSharp.Collections.List<_>
val log : value:'T -> 'T (requires member Log)

Full name: Microsoft.FSharp.Core.Operators.log
type 'T list = List<'T>

Full name: Microsoft.FSharp.Collections.list<_>
namespace Microsoft.FSharp
namespace Microsoft.FSharp.Core
Fork me on GitHub