I've created a Nuget (Nancy.Testing) that has a dependency on the exact version 126.96.36.1990 of the xunit Nuget. However when I try to install the package I get the following error
PM> Install-Package Nancy.Testing'
Nancy (= 0.6.0)' not installed.
Attempting to retrieve dependency from source...Done.
'xUnit.net (= 188.8.131.520)' not installed. Attempting to retrieve dependency from source...
Install-Package : Unable to resolve dependency 'xUnit.net (= 184.108.40.2060)'.
At line:1 char:16+ Install-Package <<<< Nancy.Testing
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
However if I try to explicitly install just that package it works just fine
PM> Install-Package -Version 220.127.116.110 xunit
Successfully installed 'xunit 18.104.22.1680'
Am I missing some key concept here? If not then this does sound like a serious effect if dependencies with exact version requirements stop working if a newer version is available? This could cause some nasty ripple effects in other packages