Closed dcorriveau-omniscient closed 8 years ago
can you give us the paket.dependencies file that was generated?
Some packages are custom nuget packages from a private nuget serv as you can see.
@dcorriveau-omniscient it won't be solutions or projects - the resolution / download phase doesn't use them (which is where the error is occurring).
If I remove Bender, it does the same error for
(the resolution / download is quite slow, I don't know if it's normal but it takes about 2 seconds for each package).
yes resolution is slow here. already analysing.
ok. already found the perf issue.
now I can reproduce (blazing fast):
You are probably looking at this as we speak, but in case somebody else has the issue and lands on this page, I also get the same error with:
And
And
Edit: Didn't think there would be so many, so I'll stop listing them from now on since they probably all have something in common and you will most likely be able to fix this in one shot.
ok in order to get you a bit further. please use Paket 2.42.7 and replace the NuGet v3 souce line with:
source https://www.nuget.org/api/v2
I'm still trying to figure out what's wrong with the v3. @maartenba is there an issue with Bender on NuGet v3 feed?
Not that I know of. What is the URL that you are requesting that would throw the above error?
@forki The package resolution is now working after changing to the v2 source and it's indeed "blazing fast". I've fixed a few version dependencies errors that I had (my mistake when creating custom packages) and it seems to complete the nuget conversion.
Danke !
you should now try to remove as many versions pins as possible from the dependencies file. Also running paket simplify will help you to clean the deps file.
In the end you only want to have top-level deps in it with as few as possible version restrictions
And I also had a few subfolders with "unused" projects in them which may have made the whole dependency tree worse than it should be, I'll have some cleanup to do, we'll see how awesome paket simplify is.
it can do a lot, but it's only a heuristic...
@maartenba it's https://api.nuget.org/v3/registration1/bender/3.0.29.0.json
I guess we have to normalize that one https://api.nuget.org/v3/registration1/bender/3.0.29.json works
Yup
@dcorriveau-omniscient with latest paket version you can back to the v3 url if you want.
Yep, it does work. Thanks !
Hi, I'm trying to convert a solution from Nuget to Paket using convert-from-nuget, but I get this:
It fails every time, if I'm using --force, it restarts the convert process and also breaks with the same error.
I'm guessing it has to do with something specific about that package, but for the sake of completeness: I'm on Windows 10, and my solution folder contains multiple projects and even other solutions (could this cause problems?).
Thanks.