NuGet Replacements for .NET MAUI #14459
Replies: 5 comments
-
Wow, this is great! Thank you for sharing this list. |
Beta Was this translation helpful? Give feedback.
-
This is a very useful list, thank you for this ! The particular case of FFImageLoading.Compat, the nuget publish did fail because |
Beta Was this translation helpful? Give feedback.
-
@davidortinau Curious what is needed for NLog to be removed from unsupported-list for MAUI-applications? Notice NLog v5.2.2 no longer uses assembly-reflection by default, and supports dotnet publish without trim warnings. See also: https://github.com/NLog/NLog.Targets.MauiLog |
Beta Was this translation helpful? Give feedback.
-
Can you suggest replacements for PCL Storage in .Net MAUI? |
Beta Was this translation helpful? Give feedback.
-
Talvez saben si aun se puede usar sidemenuview en .net maui ? |
Beta Was this translation helpful? Give feedback.
-
One of the main reasons your application will not immediately compile after your initial upgrade to .NET MAUI from Xamarin is incompatible NuGets. The solution is to update them to compatible versions, or replace them with compatible solutions.
There are three main scenarios you will encounter:
NuGets without any platform dependencies (going all the way down through their dependency tree) that have framework support for the "products" .NET Standard or .NET are compatible with .NET MAUI. Some examples are Newtonsoft.Json, NLog, Polly, and Refit. Note while they may have added .NET target frameworks, there are no dependencies in the Xamarin.*, MonoAndroid, MonoTouch, etc. target frameworks.
For scenarios 2 and 3, so long as you see target framework support for
net6.0-*
or newer then the package is compatible with .NET MAUI.Beta Was this translation helpful? Give feedback.
All reactions