question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider moving to the official "centralized package version" support

See original GitHub issue

NuGet has had an official way to centrally manage package versions for some time now (https://github.com/NuGet/Home/wiki/Centrally-managing-NuGet-packages, https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/5.0/directory-packages-props-imported-by-default, https://github.com/NuGet/Home/wiki/Centrally-managing-NuGet-package-versions).

It does this via a Directory.Packages.props file and has better integration with the IDE and other tooling.

We should look at migrating arcade dependent repositories to using the official tooling shipped alongside the produce where possible, rather than relying on custom solutions. If the official tooling is missing minor support, then we should ensure the relevant tracking issues are filed to enable the scenarios or that our custom needs are built on top where feasible.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:4
  • Comments:29 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
alexperovichcommented, Apr 25, 2022

I would prefer that the package versions actually exist in the Directory.Packages.props file though, for the IDE support that may be coming.

0reactions
michellemcdanielcommented, Jan 12, 2023

It appears that the latest version of dotnet has a nuget version that is high enough for us to try this again. Going to drop this in Operations. We should think of doing it next time we have to upgrade packages

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing Central Package Management - The NuGet Blog
Central Package Management. Dependency management is a core feature of NuGet. Managing dependencies for a single project can be easy.
Read more >
[PackageReference] Centrally manage NuGet package ...
Use a target that will apply the Version with an Update. I have created a repository to anticipate the Centralized Nuget Package here:...
Read more >
Central Package Management
Manage your dependencies in a central location and how you can get started with central package management.
Read more >
Centralized Package Management and Source Mapping
The .NET SDK and NuGet teams have recently added some new features to MSBuild that make it easier to manage NuGet dependencies *securely*...
Read more >
Support for NuGet package manager to update ... - YouTrack
Packages.props , the Central Package Version Management from NuGet team. ... I think you need to actually have the versions in a file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found