Posts

Showing posts with the label nuget-package

Nuget packages - the dependency crisis

Image
Clash Royale CLAN TAG #URR8PPP Nuget packages - the dependency crisis Perhaps it's a bit of a hyperbole to say crisis, but there clearly is a growing problem relating to package inter-dependences which doesn't seem to have an easy fix. For example, I raised an issue with Microsoft months ago about a circular dependency created when you want to use Microsoft.AspNetCore.SignalR with Microsoft.NET.Sdk.Functions; they both want different versions of Newtonsoft.Json - see link. I also raised an issue about not being able to use PowerShell with ASP.NET Core 2.0 which has been ongoing since March 2018 seemingly due to package dependency problems - see link. Searching various forums suggests that many people are hitting similar problems with Microsoft packages. Question: What are people's thoughts about addressing these sorts of problems? For example, would it be possible to specify versions of package dependencies so that when loading Package A (having a dependency on Package Z v...