Forum Discussion

maxkatz6's avatar
maxkatz6
Copper Contributor
Apr 05, 2022

Can we use Maui.Essentials without Maui UI framework?

Previously Xamarin.Essencials was an independed library that could be used with non-XamarinForms applications.

Currently this library was rebranded into Maui.Essentials. Which raises a question, if this library become a part of Maui framework with hard dependency on it, or if it still can be used without this GUI framework.

I don't see any references to the Maui framework at the moment except Microsoft.Maui.Graphics. Still, I want to see official confirmation stated somewhere.

 

Use cases:

1. We want to be able to build Avalonia applications and use helpers from Maui.Essentials without referencing whole Maui framework.

2. Same about Uno Platform. It should be possible to use it with Maui.Essentials without Maui framework.

3. I also can imagine applications that are built with "net6-ios/android" targets with native UIs without "Forms" from MAUI. These applications will benefit from Maui.Essentials without unnecessary dependency from Maui framework.

 

Thanks,

Max Katsydan.

Resources