You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package 'A' v0.1.1, that depend on 'B', but previously depended on 'C'. Paket is downloading the wrong metadata, that of A v0.0.1, instead of v0.1.1; or the myget server is returning the wrong metadata; how do I inspect what 'call' paket has done that make it download that C is a dependency of A?
Can I toggle a verbose flag and see what data it gets back from what URL?
So I can narrow it down.
I've cleaned out packages/ and the cache. Downloading package 'A' manually shows it contains the right versions in the nuspec file. Paket still downloads an old version.
let me guess: it's not on a public nuget server? ;-)
Can I toggle a verbose flag and see what data it gets back from what URL?
nope, but that might be interesting. Currently I always break in the debugger if something like that happens. Let me see if I can add more verbose output at that point.
Activity
forki commentedon Apr 14, 2015
let me guess: it's not on a public nuget server? ;-)
nope, but that might be interesting. Currently I always break in the debugger if something like that happens. Let me see if I can add more verbose output at that point.
haf commentedon Apr 14, 2015
That's right, it's MyGet again ;)
haf commentedon Apr 14, 2015
Ok, so I added some debug code to Paket, and lo-and-behold, MyGet is returning faulty data... Here's a patch for the changes:
forki commentedon Apr 14, 2015
please try latest paket 0.41.2.0 with -
-f -vTrace NuGet server response in verbose mode - references #775
haf commentedon Apr 14, 2015
It seems myget is returning multiple results to this query:
https://www.myget.org/F/logibit/Packages?$filter=Id%20eq%20%27My.Package%27%20and%20NormalizedVersion%20eq%20%270.1.1%27Trying such a specific version with NuGet returns only a single version.
forki commentedon Apr 14, 2015
summoning our MyGet guru @maartenba
are we missing something in Paket?
maartenba commentedon Apr 14, 2015
Looking into it. Our expression tree rewriter seems to have missrd a beat.
maartenba commentedon Apr 14, 2015
A fix has been deployed.
haf commentedon Apr 14, 2015
I've verified the fix as well! Works now!