Repository navigation
NuGet Replacements for .NET MAUI #14459
Replies: 5 comments
|
Wow, this is great! Thank you for sharing this list. |
|
This is a very useful list, thank you for this ! The particular case of FFImageLoading.Compat, the nuget publish did fail because |
|
@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. |
|
Can you suggest replacements for PCL Storage in .Net MAUI? |
|
Talvez saben si aun se puede usar sidemenuview en .net maui ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.All reactions