A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Hello @Paolo Mossa ,
Thanks for your question.
If the Uninstall option is unavailable for Xamarin.Forms, consider examining the dependency tree to see whether the package is being brought in through another NuGet package.
You can refer to these following steps:
- In Visual Studio, go to
Solution Explorer>Dependencies>Packages. - Expand your installed packages to look at their sub-dependencies. Find the older package that has
Xamarin.Formslisted inside it. - Go to the NuGet Package Manager and uninstall that older package.
- Install a new, .NET MAUI-compatible version of that package, or find an alternative library.
5. Close Visual Studio, manually delete your
binandobjfolders in File Explorer, and rebuild the project.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback. Thank you.