You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with this is that it isn't very well integrated into the NuGet dependency toolchain. For example if I am using the Microsoft.Build.NoTargets Sdk I might use:
<ProjectSdk="Microsoft.Build.NoTargets/3.7.0">
Or I might version this through a global.json like:
Having an official mechanism for this could also help the build of DotNet itself - currently when doing a full product build we build some SDKs and then have to change these files' content to use the newly built versions.
Reacted by Dan Siegel, Amadeusz Sadowski, Jérôme Laban, David, Agnès ZITTE, Francois Tanguay, Amaury Levé and Jon Douglas
This is a major issue that has made us reconsider using MSTest.Sdk. The behavior of NuGet Package Manager in Visual Studio makes it unusable, both for versioning within individual project files and for versioning within global.json (along with Central Package Management in Directory.Packages.props).
Reacted by Amaury Levé, Kyle McClellan, Michael A. Hawker, Darrell Owen, ssnseawolf, Alexandre Zollinger Chohfi, Mike Küster and Bartimoot
Activity
baronfel commentedon Jan 4, 2024
Having an official mechanism for this could also help the build of DotNet itself - currently when doing a full product build we build some SDKs and then have to change these files' content to use the newly built versions.
5 remaining items
hakenr commentedon Oct 19, 2024
This is a major issue that has made us reconsider using
MSTest.Sdk. The behavior of NuGet Package Manager in Visual Studio makes it unusable, both for versioning within individual project files and for versioning withinglobal.json(along with Central Package Management inDirectory.Packages.props).azchohfi commentedon Oct 8, 2025
Has there been any progress in this? I see this as a P2, but it invalidates a whole class of usage of NuGet packages.