fsprojects / Paket

A dependency manager for .NET with support for NuGet packages and Git repositories.
https://fsprojects.github.io/Paket/
MIT License
2.02k stars 520 forks source link

Constraints across package groups? #4169

Open njlr opened 2 years ago

njlr commented 2 years ago

Suppose I have two groups Build and Test that depend on the same package Newtonsoft.Json:

source https://nuget.org/api/v2

nuget FSharp.Core

group Build

  nuget Newtonsoft.Json

group Test

  nuget Newtonsoft.Json

Is there a way to specify that both groups must have the same version of Newtonsoft.Json, without specifying an exact version?