Managing & Updating Xamarin NuGet Packages Efficiently

preview_player
Показать описание
You just created your first Xamarin project and the next thing you should do is check for NuGet updates for both Xamarin.Forms and Xamarin.Essentials! In this video I walk through exactly what a NuGet package is, how to check for updates, see what is inside of the NuGet, and easily update packages.

Time Codes:
00:00 - Welcome - Let's upgrade our NuGets
01:30 - What is a NuGet package?
03:30 - Exploring Dependencies
05:30 - Manage & Update NuGet Packages for Solution
09:30 - Consolidate NuGet Package Updates
10:10 - Exploring NuGet
13:10 - NuGet Package Explorer
15:40 - Modifying Package References in the csproj
18:00 - Wrap-up & Xamarin.Plugins Repo

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

Links:

Follow:

My Setup:

#XamarinForms #Upgrade #NuGet
Рекомендации по теме
Комментарии
Автор

This series is by far the best. Thank you James for sharing your experience with us in such detailed way as anyone would love when approaching any new subject.

predigr
Автор

Came here to learn about Xamarin and ended up binge watching this series because it's so good. I should be in bed! Thanks James!

jandd
Автор

I finally started the course I wanted to start. Thanks for your explanation. please continue xamarin tutorials :)

mk-epyk
Автор

Great set of videos James, top notch. C# dev just coming to Xamarin and mobile now, thanks man.

davidharrington
Автор

Except for all the up speak, these videos are the best.

good
Автор

Amazing and useful, we wait for more from you James 😍

michael_azzer
Автор

Great job James , waiting for more videos

deaasaleh
Автор

So I migrated my Xamarin.Forms Android project to Android 10 and AndroidX months ago. But there were some other libraries such as Syncfusion controls back then that were not AndroidX compatible so I had to add some of the older Android libraries back so the solution would build. I think that those libraries have been mostly updated to AndroidX now. I still have 3 references to (Xamarin.Android.Support.Compat, Xamarin.Android Support.v7.AppCompat and that I suspect can be removed. How do you determine what Is using these dependencies so you can determine if they can be deleted?

Orgbrat
Автор

What do you think about Xamarin forms -> MAUI transition. Since I'm working on some freelance project it will confuse my customers about the name differences

argonjs
Автор

hey James, really awesome video, like how you go deep-dive because you can't really cover and explain this stuff without that level of detail. I have been working backend development for many years but am fairly new to mobile development, so there are two things that always threw me regarding Nuget packages.
Are they installed three times to disk, once for the common .NET project, and once for the Android and iOS projects? Or is there some clever pointer logic that points to the same install from all three projects?
Also, I have several toy solutions when I am testing things out, do I have to do the upgrade+install of the same Nuget package to all of them or could they somehow share one install. Where I am at in development I always just use the latest stable version, so seems redundant to me that I have to update to the same package across, say, 5 different solutions. Now, I am just looking for what is best practice so let me know what your seasoned suggestion is :-)

boysen
join shbcf.ru