Closed extrawurst closed 8 years ago
I had the same problem, although I fixed it as I had some inconsistencies with my subpackage dependencies. I think Xamarin tries to check every dependency while dub only loads once. My main package had the right dependencies (which were git clones on my drive) while the others were the same package, just trying to haul it from the repository which doesn't exist anymore.
"I think Xamarin tries to check every dependency while dub only loads once" - please elobarate, i dont understand that
Sorry, sleepless night!
What I meant to say is that, if you load your main package which branches to other sub-packages, and if the sub-packages share some dependencies which you already loaded in the main package, those won't be checked by dub, but it might be checked by Xamarin. My problem was that the sub-packages (also dub files) had deprecated dependencies listed from the dub repository, but I think dub ignored them because they were already loaded by the main package (which had a path to the packages on my physical harddrive).
unfortunately that is not the case in this project. end even if, it should be fixed and be on par with dub behaviour
Have you tried to temporarily remove the dependencies in your main and/or sub-packages in a step-by-step fashion? This is how I was able to locate the source of the problem. Xamarin is able to load some dub files even if they don't compile.
i guess it is related to https://github.com/aBothe/Mono-D/issues/639
loading
https://github.com/Extrawurst/unecht/blob/master/samples/helloworld/dub.json
is not possible: