Content
How to tie a Maui project to a specific version of Maui
With XF we have nuget packages and can build the right version every time in a more deterministic model (think CICD pipelines etc). With Maui, everything is workload based. How do we specify in the Maui projects what version of Maui to use?
Cannot debug my MAUI app using hot restart
I have a .Net MAUI app that I want to test and debug if needed on my iPhone without Mac. I found instructions on how this can be done here: https://learn.microsoft.com/en-us/dotnet/maui/deployment/hot-restart But on the second step I get the…


SecureStorage and Preference between Class and App
Hi, I have a MAUI Class Library where I set a SecureStorage value: SecureStorage.SetAsync("TempStorage", "My Name is Jassim"); but when I try to read it in my MAUI App: DisplayAlert("TempStorage",…


DLL Not Found "libpsl-native" whilst attempting to create Powershell remote connection object (MAUI/BLAZOR/XAMARIN)
I wonder if anyone could help me with a problem I am experiencing in Visual Studio 2022 on the MAUI platform (although I have also tried Xamarin and Blazor platforms too). When I attempt to create a powershell remote connection object I receive the…


Android emulators
Is there a way to use android emulators if your pc specs are too low?


MAUI swipe recogniser not fier
This is my page the swipe recogniser not fier Please what I miss <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …


MAUI app to run on Windows Start up
Hi! I'm currently trying out MAUI for Windows desktop and i noticed that i can't run the .exe which is on the published folder (later i noticed that it is specified in the Microsoft MAUI docs). So my question is the following: Is there any way i…


Restrictions on using ".NET MAUI"
We plan to develop using ".NET MAUI". ".NET MAUI" doesn't need "source code disclosure" or "copyright notice", right? ".NET MAUI" has no intellectual property related issues, right? My boss is…


How to bind to {Binding} and use converter
I need to use a converter in Maui, the problem I am having is the XAML to which I using the converter can bind individually to properties but when I try to use it with just {Binding , convertername ---- I get an XAML parsing error. The XAML that…


Is it possible to make a label update as soon as a variable changes?
I want to update the text on a label as soon as the variable connected to it updates. And if possible I want to avoid making loops to save resources. (For example: I have a string which shows your username on it, and when you change your username…


How to get a Layout object (such as Grid or StackPanel) from LayoutPanel object?
I am migrating Xamarin code to .NET MAUI. I am using PlatformEffect to capture the RightTapped event for WinUI. The equivalent is done for other platforms such as Android by using the SwipeView Control. Shown below are partial XAML code and…
Maui, files go locked and even Resource Monitor cannot find what is locking it
Severity Code Description Project File Line Suppression State Error MAUI0000 System.IO.IOException: The process cannot access the file 'C:\Visual Stuido Stuff\Maui\DEVEXFullProject\obj\Debug\net6.0-android\resizetizer\r\drawable-xxxhdpi\nhllogo.png'…


how to request permission of nearby device on Android
Bluetooth need permission nearby device on android 12 - API 31+ [create extending permissions for location, nearby device] [request extending permissions] This picture is what i did for request permission work with location…
How to get Content in MAUI Class Library?
Hi, I have below code in my MAUI Class Library but the name Content does not exists Kindly help.. namespace TempMAUIClass; using Microsoft.Maui.Controls; // All the code in this file is included in all platforms. public class…


How can I add a context menu to UI element in MAUI?
The code below is not working, Error XLS0415 The attachable property 'ContextActions' was not found in type 'Grid' <Grid.ContextActions> <MenuItem Text="Test"/> <MenuItem Text="Test 2"/> …


How to add search functionality to dotnet maui application?
I'm creating a small notepad app by using dotnet MAUI. I already created CRUD functionality to the app. Now I want to add a search functionality to search notes. This is my code that I used to get notes. [ICommand] private async void GetNoteList() …


disable top bar
Is there a way to get rid of this top bar?


Remove the NavigationBar in MAUI
Hi, What is the alternative for this in MAUI? NavigationPage.SetHasNavigationBar(this, false); NavigationPage.SetBackButtonTitle(this, null); I tried: Shell.SetNavBarIsVisible(this, false); but did not work, although I already have…


Doble Tab to Exit in Microsoft MAUI
HI, How to integrate Double tab to exist in MAUI same as Xamarin forms. can anyone suggested me or share me some stuff. Thanks
Exception when using System.IO.Ports
I am using SerialPort class to open a serial device on MacOS (Monterey), an exception occurs when I call Open function Example Code: SerialPort port = new SerialPort(); port.Open("/dev/cu.usbxxxx"); Exception:…

