Skip to content

Commit

Permalink
fixes #2648
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Sep 11, 2017
1 parent e645636 commit 49371eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/dependencies-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,16 @@ group Build
nuget FAKE redirects: on
```

If you want Paket to always create redirects for all packages then you can use the following:

```paket
redirects: force
source https://nuget.org/api/v2
nuget FSharp.Core
nuget Newtonsoft.JSON
```

### Resolver strategy for transitive dependencies

The `strategy` option tells Paket what resolver strategy it should use for
Expand Down
8 changes: 8 additions & 0 deletions docs/content/nuget-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,14 @@ source https://nuget.org/api/v2
nuget FSharp.Core redirects: off
```

If you want Paket to always create a redirect then use the following:

```paket
source https://nuget.org/api/v2
nuget FSharp.Core redirects: force
```

You can also override the redirects settings per project, from its
[`paket.references` file](references-files.html#Redirects-settings).

Expand Down

0 comments on commit 49371eb

Please sign in to comment.