We did 9.2 upgrade on our website and since NoReferences
packages are removed, we have started the install & upgrade these packages by using NuGet's builtin ability to Ignore Dependencies
.
But after that, when we tried to install a package with its dependencies, NuGet shows the following(in short), wants us to resolve these:
Attempting to gather dependency information for package 'Microsoft.AspNet.Mvc.5.2.4' with respect to project 'TheReference.Site.Business', targeting '.NETFramework,Version=v4.7.1' Gathering dependency information took 1.69 min Attempting to resolve dependencies for package 'Microsoft.AspNet.Mvc.5.2.4' with DependencyBehavior 'Lowest' One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Sitecore.Analytics 9.2.0 constraint: Sitecore.Marketing.Search (>= 9.2.0)', 'Sitecore.Analytics 9.2.0 constraint: Sitecore.Marketing.xMgmt.ReferenceData (>= 9.2.0)', 'Sitecore.Analytics 9.2.0 constraint: Sitecore.CES.DeviceDetection (>= 9.2.0)', 'Sitecore.Analytics.Core 9.2.0 constraint: Sitecore.Xdb.Configuration (>= 9.2.0)',
How can we solve this issue without using PackageReference
(which is not well supported) or directly referencing those dlls?