FSharp.DependencyManager.Paket 12.0.1-alpha001

This is a prerelease version of FSharp.DependencyManager.Paket.
dotnet add package FSharp.DependencyManager.Paket --version 12.0.1-alpha001
                    
NuGet\Install-Package FSharp.DependencyManager.Paket -Version 12.0.1-alpha001
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.DependencyManager.Paket" Version="12.0.1-alpha001" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.DependencyManager.Paket" Version="12.0.1-alpha001" />
                    
Directory.Packages.props
<PackageReference Include="FSharp.DependencyManager.Paket" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.DependencyManager.Paket --version 12.0.1-alpha001
                    
#r "nuget: FSharp.DependencyManager.Paket, 12.0.1-alpha001"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.DependencyManager.Paket@12.0.1-alpha001
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.DependencyManager.Paket&version=12.0.1-alpha001&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FSharp.DependencyManager.Paket&version=12.0.1-alpha001&prerelease
                    
Install as a Cake Tool

CI Build status NuGet Status Join the chat at https://gitter.im/fsprojects/Paket Twitter

Paket

A dependency manager for .NET with support for NuGet packages and git repositories.

Why Paket?

NuGet did not separate out the concept of transitive dependencies. If you install a package into your project and that package has further dependencies then all transitive packages are included in the packages.config. There is no way to tell which packages are only transitive dependencies.

Even more importantly: If two packages reference conflicting versions of a package, NuGet will silently take the latest version (read more). You have no control over this process.

Paket on the other hand maintains this information on a consistent and stable basis within the paket.lock file in the solution root. This file, together with the paket.dependencies file enables you to determine exactly what's happening with your dependencies.

Paket also enables you to reference files directly from git repositories or any http-resource.

For more reasons see the FAQ.

Online resources

Troubleshooting and support

Quick contributing guide

  • Fork and clone locally.
  • Build the solution with Visual Studio, build.cmd or build.sh.
  • Create a topic specific branch in git. Add a nice feature in the code. Do not forget to add tests and/or docs.
  • Run build.cmd (build.sh on Linux/macOS) to make sure all tests are still passing.
  • When built, you'll find the binaries in ./bin which you can then test with locally, to ensure the bug or feature has been successfully implemented.
  • Send a Pull Request.

If you want to contribute to the docs then please modify the markdown files in /docs/content and send a pull request. Note, that short description and syntax for each command is generated automatically from the Paket.Commands module.

License

The MIT license

Maintainer(s)

The default maintainer account for projects under "fsprojects" is @fsprojectsgit - F# Community Project Incubation Space (repo management)

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.0.1-alpha001 66 11/28/2026
12.0.0 230 11/11/2026
12.0.0-alpha006 102 11/8/2026
12.0.0-alpha005 98 11/7/2026
12.0.0-alpha004 109 11/1/2026
12.0.0-alpha003 110 10/26/2026
12.0.0-alpha002 115 10/17/2026
12.0.0-alpha001 109 10/11/2026
11.0.1 180 10/11/2026
11.0.0 129 10/5/2026
11.0.0-alpha004 113 10/5/2026
11.0.0-alpha003 120 9/27/2026
10.3.1 328 1/20/2026
10.2.1 200 1/19/2026
10.2.0 183 1/19/2026
10.1.1 194 1/19/2026
10.0.1 196 1/19/2026
10.0.0-alpha011 349 11/11/2025
10.0.0-alpha010 351 11/11/2025
10.0.0-alpha009 338 11/11/2025
Loading failed

* fix: `paket install` and `paket update` add `<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>` to a project only when they write binding redirects to its `app.config` or `web.config`, and only when the project doesn't set the property: an `AutoGenerateBindingRedirects` of `false` stays `false`. They used to set it to `true` in every project with such a file, also when no redirect was written, as with `redirects: off`, and saved those project files (#4158, #4139)
* fix: The bash completion completes `paket` too, not only `paket.exe`: a global tool, a Paket installed with `--tool-path` or the `paket` alias of `dotnet paket`. It falls back to file names, as in `paket pack out<TAB>`. Remove the `complete -F _paket paket` that the README advised for the alias: it replaces the one of the script, without that fallback
* fix(BREAKING): Completing a package, a version or a group in zsh no longer runs files of the repository. The completion runs the `paket.dll` of the local tool restored in `NUGET_PACKAGES` or `~/.nuget/packages`, with `dotnet`, instead of `dotnet paket`, which the `sdk.paths` of the `global.json` of the repository can point at an SDK of the repository. It reads no `NuGet.config`: export `NUGET_PACKAGES` when yours sets `globalPackagesFolder`. It no longer runs `.paket/paket.exe` first, which can be the one of Paket 11 that fails without mono outside Windows, nor any Paket of the current folder unless the `paket-executable` style lists it: for a Paket installed with `--tool-path .paket`, add `zstyle ':completion::complete:paket:*' paket-executable ./.paket/paket`
* fix(BREAKING): The zsh completion completes package IDs and versions from `https://www.nuget.org/api/v2`, or from the sources of the `package-sources` style, instead of the sources of `paket.dependencies`: their credentials can name environment variables, whose values `paket find-packages` sent to those sources when TAB ran it. To query other feeds, add `zstyle ':completion::complete:paket:*' package-sources https://www.nuget.org/api/v2 https://example.com/feed/v2`: Paket doesn't send them the credentials stored with `paket config add-credentials`, and only reads the versions of a v2 feed. It no longer completes the warnings that paket prints, such as `Ignoring error when requesting`, and a quote in the word being completed no longer breaks the command
* fix: The zsh completion runs the local tool of the closest `.config/dotnet-tools.json` or `dotnet-tools.json` from the current folder up that declares paket, without looking above an `isRoot` one, as dotnet does; else, or when that tool isn't restored, a global tool. It used to read only `./.config/dotnet-tools.json`, where any `"paket"` counted
* fix: The zsh completion applies the styles set for one command, such as `zstyle ':completion::complete:paket:add:*' infix-match yes` or `zstyle ':completion::complete:paket:find-packages:' disable-completion yes`, to `paket` and not only to `paket.exe`
* fix: The zsh completion completes the installed packages for `paket why` and `paket find-refs`, and after `--group`: it passed the group to `paket show-installed-packages`, which takes none
* fix: `#r "paket:"` in F# scripts runs the local tool, and the Paket .NET tool restored in the NuGet packages folder, with the first dotnet that has a .NET runtime that the tool runs on, looking at the one that runs the script, then in `DOTNET_ROOT`, the `PATH` and the default install folders. It used to run `dotnet` from the `PATH` unless `DOTNET_HOST_PATH` was set, which failed in an IDE or an app that hosts F# Interactive without dotnet on its `PATH`. When it finds no dotnet, it asks to set `DOTNET_ROOT` or to add dotnet to the `PATH`, instead of failing to start `dotnet`, and when Paket fails, the error shows the whole command it ran
* fix: `#r "paket:"` in F# scripts runs the `paket.dll` of the local tool that `dotnet tool restore` recorded, as `dotnet tool run` does. When there is none, it looks for the local tool in the NuGet packages folder, and then in `~/.nuget/packages`, as for the most recent Paket .NET tool restored. The NuGet packages folder is `NUGET_PACKAGES`, or else the one that `dotnet nuget locals global-packages --list` gives when run in the folder that has the tool manifest, or in the folder of the script: the `globalPackagesFolder` of the `nuget.config` files, or `~/.nuget/packages`. It looked in `NUGET_PACKAGES` or `~/.nuget/packages` only, and asked to run `dotnet tool restore` for a local tool restored elsewhere. When the local tool isn't restored, the warning or the error that says so gives the folders it looked in and the folder to run `dotnet tool restore` in
* fix: When neither `HOME` nor `USERPROFILE` is set, `#r "paket:"` in F# scripts no longer fails with an `ArgumentNullException` while looking for a global tool, and with an empty `HOME` it no longer looks for one in the current folder
* fix: When the tool manifest declares paket but its local tool isn't restored, `#r "paket:"` in F# scripts warns and runs a global tool, or else the most recent Paket .NET tool restored in the NuGet packages folder, instead of failing, and when it finds neither, it fails asking to run `dotnet tool restore`; it still skips a Paket installed with `--tool-path`. The Paket that runs instead may be another version: when it fails, the error ends by repeating that the local tool isn't restored, and when it succeeds, the next run runs Paket again, with the local tool once it is restored, which installs the versions written in `paket.lock` by the Paket that ran instead, as `paket install` does
* fix: When the tool manifest says `"rollForward": true` for paket, as `dotnet tool install --allow-roll-forward` writes it, `#r "paket:"` in F# scripts runs the local tool with `dotnet --roll-forward Major`, as `dotnet tool run` does: whatever `DOTNET_ROLL_FORWARD` says, it takes the first `dotnet` that has the .NET version of the tool or a later one, and runs on a later major version when that `dotnet` lacks the one of the tool. It ran the tool as its `runtimeconfig.json` and `DOTNET_ROLL_FORWARD` said: with `DOTNET_ROLL_FORWARD` set to `Minor`, `LatestMinor` or `LatestPatch`, it failed where `dotnet paket` worked when no `dotnet` had the .NET version of the tool, such as .NET 10 for Paket 12, with `Disable` when none had the exact version it asks for, such as .NET 10.0.0, and with `LatestMajor` it ran on the latest major version of the `dotnet`
* fix: `#r "paket:"` in F# scripts finds the local tool when the tool manifest gives its version in a form that NuGet normalizes, such as `12.0-alpha003` or `12.0.0+sha`: it looked for the tool under that form, while `dotnet tool restore` records and restores it under the normalized version, `12.0.0-alpha003` or `12.0.0`, so it took the local tool as not restored. As dotnet, it takes a manifest that gives paket a version that NuGet refuses as invalid, where it looked for the tool under that version, or ignored the paket tool when the version was empty
* fix: `#r "paket:"` in F# scripts reads the tool manifest as JSON, as dotnet does: only the tools of `"tools"` count, the property names other than the IDs of the tools are case-sensitive, and the last `"isRoot"`, `"version"` or `"rollForward"` counts when one is written twice. As dotnet, it doesn't look for the local tool in or above a manifest that isn't JSON, which allows no comment or trailing comma, that isn't a JSON object, that has no `"isRoot"` set to `true` or `false`, whose `"tools"` isn't an object, or whose paket tool has no `"version"`: it warns and runs the Paket that runs without a manifest that declares paket, which may be another version, and fails with the reason only when it finds none; as when the local tool isn't restored, the error of that Paket repeats the reason, and its result isn't kept. It doesn't check the rest: it still reads a manifest that dotnet refuses for the `"version"` of the manifest, for another tool, or for the `"commands"` of the paket tool or a `"rollForward"` that isn't `true` or `false`, which it takes as `false`. It looked for a `"paket"` object and for `"isRoot"` anywhere in the manifest, and for the `"version"` of paket before the first `}`, without case, so that a property in a comment or the `"paket"` object of another tool when it had a `"version"` counted, an object in the paket tool hid the properties after it, and a manifest that dotnet refuses could still give the version of paket or tell whether to look above it
* fix: `#r "paket:"` in F# scripts reads a tool manifest at the root of a drive only where dotnet does: on Windows, where any user can create a folder there, only when `DOTNET_TOOLS_ALLOW_MANIFEST_IN_ROOT` is `true` or `1`, and elsewhere unless it is set to another value. It looks for a Paket installed with `--tool-path` there, directly or in a `.paket` folder, only on the same terms. It read them everywhere, so that a manifest that another user created could choose the Paket that runs, and a `paket.exe` that another user created ran
* fix: `paket pack` finds the output folder of an SDK project for the frameworks that the project writes otherwise than Paket names them, such as `net8.0-windows` (`net8.0-windows7.0`), `net8.0-windows10.0.19041` or `NET472`. It failed with "Unable to find Debug output path node" when the project sets no `OutputPath`, and took the `OutputPath` without the framework folder otherwise. It also read the assembly of a project that writes `NET472` in `bin/Debug/NET472`, while the SDK names the folder in lowercase, which failed on a case-sensitive file system - https://github.com/fsprojects/Paket/issues/4504
* fix: `paket pack` skips the entries of `TargetFrameworks` that expand to blank, as a property defined outside of the project file in `$(ExtraTargetFramework) ;net8.0`, when it reads the assembly of a project: it took the first one, and failed with "Unable to find Debug output path node" or took the `OutputPath` without the framework folder
* fix: `paket pack` finds the output folders of a project that empties `TargetFramework` next to `TargetFrameworks`, as to clear the one of Directory.Build.props: it only looked for them in the empty `TargetFramework`, and failed with "Unable to find Debug output path node" or took the `OutputPath` without the framework folder