I am currently trying to improve dependency management in our project. We have a typical Xamarin project for Android / iOS and use Xamarin-Studio as an IDE. For common code, we use one PCL and two common projects (introduced with Xamarin 3).
So far, we just had a folder with DLLs for processing third-party libraries ... due to the wrong path. Now we will try to make some efforts to improve this problem.
For me, there is one big question: Xamarin.Components or NuGet? . Where is the difference between these approaches? And what do you use for what type of dependency?
From my point of view, NuGet is the right way to handle dependencies ... A simple definition file for dependencies, automatic updating, handling transitive dependencies, I only need to check one file, and NuGet automatically downloads all the necessary files, and so on ... C on the other hand, it seems that Xamarin.Components is more mature in the xamarin world ... I find not only libraries like json.net and sqlite.NET, but also interface components, for example, for example. ZXing.Net or BTProgressHUD ...
It would be very helpful to know how you handle dependencies in your cross-platform projects!
source share