I've created a Nuget (Nancy.Testing) that has a dependency on the exact version 184.108.40.2060 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 (= 220.127.116.110)' not installed. Attempting to retrieve dependency from source...
Install-Package : Unable to resolve dependency 'xUnit.net (= 18.104.22.1680)'.
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 22.214.171.1240 xunit
Successfully installed 'xunit 126.96.36.1990'
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