4,174 questions with Developer technologies | .NET | .NET MAUI tags
MAUI: Red circle is not visible on the UI
I am showing a list of alerts on the UI using a View. If the alert is not read, I need to show a red circle on the left side of it and I need to show the unread count on the tab icon. But currently only a gray circle is showing on the UI and count is…
Developer technologies | .NET | .NET MAUI
MAUI: How we can disable the login form once tab on the login button
I have a login page where user needs to enter email and password. My problem is once the user taps the login button, the email and password fields are still editable. I want to make the email and password disable after tapping the button. After tapping…
Developer technologies | .NET | .NET MAUI
MAUI Project Builds Successfully but Fails to Launch on Emulator or Physical Device in Visual Studio
I’m encountering an issue where my .NET MAUI project builds successfully in Visual Studio, but the app does not launch on either the Android emulator or a physical device. When clicking Run, the Output window shows messages such as: “Done Building…
Developer technologies | .NET | .NET MAUI
iOS: Loading Overlay Sometimes Fails to Dismiss After Async Operation
I have a method in my .NET MAUI app that triggers a loading overlay with a spinning sync icon whenever it runs. When execution reaches the finally block, the overlay and icon should be removed. This works consistently on the Windows emulator, but on iOS…
Developer technologies | .NET | .NET MAUI
Where should I call .Dispose() in my iOS project after AVPlayer finished?
I use this code in my iOS project to play a video but I don´t know where exactly I should call .Dispose() after the video finished. Original thread:…
Developer technologies | .NET | .NET MAUI
How to use SelectedIndexChanged or CommandParameter with CommunityToolkit.Mvvm
I am using CommunityToolkit.Mvvm with ObservableObject and ObservableProperty. In the MVVM pattern, how can I trigger the SelectedIndexChanged event for a Picker when an item is selected, or handle changes in an Entry when typing into the textbox? …
Developer technologies | .NET | .NET MAUI
.NET MAUI - Camera View - Images Portrait
Hello, I'm using CameraView from CommunityToolkit.Maui.Camera, and I take photos that I display in another view. When I take the image with the iPad in portrait mode, the photo I took displays fine. I even save it to disk and display it later in another…
Developer technologies | .NET | .NET MAUI
iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
I have uploaded my iOS build on TestFlight and then installed it on my iPad. My game always crashes 1-2 seconds after I opened it on my iPad. It only crashes in release mode and not in debug mode. It's not the first time that I have this kind of crash.…
Developer technologies | .NET | .NET MAUI
Which control needs to be used to show loading image for Images.
I'm working with large size images, that will take good amount of time to load the image, So for that thing i want show a dummy image like FFimage loading until the actual image loads, So which control will you suggest for this requirement, I tried with…
Developer technologies | .NET | .NET MAUI
.net Maui app in infinite loop due to [ObservableProperty]
I am not sure if I am in the right place to ask this question. In my app I convert Celsius to Fahrenheit and vice versa. Because I am using [ObservableProperty] when I update the one property, the other wants to update as well, and the program goes into…
Developer technologies | .NET | .NET MAUI
The SDK Microsoft.NET.sdk specified could not be found.
I get this error when I try to create a new project in Visual Studio Community 2022 (64-bit) 17.14.19: The SDK Microsoft.NET.sdk specified could not be found. In addition, when I try to open an existing solution in VS Community 2022 then my iOS and…
Developer technologies | .NET | .NET MAUI
Debugging is not working in Visual Studio Community 2026: The program 'Project iOS' has exited with code 0 (0x0).
My application gets installed on my iPad Air and my application launches on the device but shortly later the application gets terminated. After that I have tried to open the installed application on my device and this works. But debugging gets always…
Developer technologies | .NET | .NET MAUI
MAUI - Access XAML element from a different class code behind
I'm working on my first MAUI Android app. It consists of two screens, switchable via a tab control. Now to my issue - I have page MainPage.xaml with MainPage.xaml.cs and also AboutPage.xaml with AboutPage.xaml.cs. Is there a way how to access an element…
Developer technologies | .NET | .NET MAUI
MAUI: Issue with FlowDirection
My home page is a FlyoutPage and its FlowDirection is RightToLeft, because I need to open the flyout(menu pop up) from the right side. The detail page is TabbedPage with 3 children. The first child is an AlertsPage and if we click on any alert it will…
Developer technologies | .NET | .NET MAUI
Build and run Maui app from dotnet cli on mac
I have dotnet 10 installed on my mac. Running dotnet --version yields this: 10.0.100-rc.1.25451.107 I have also installed the sdk, but when I run dotnet build -t:Run -f net10.0-ios I get this error: MyMauiApp net10.0-ios failed with 1 error(s) (0.2s) …
Developer technologies | .NET | .NET MAUI
MAUI: Fingerprint Authentication UI does not update before navigation
I am working on a .NET MAUI app with biometric authentication. There is a pop-up appear when doing the authentication Issue: When the user taps the fingerprint sensor: The pop-up title should change from "Fingerprint for Native 3" to…
Developer technologies | .NET | .NET MAUI
Login flow error
So I have the dashboard page and auth in the appshell.xaml.cs I am doing ` public partial class AppShell : Shell { private readonly IFirebaseAuthClient _auth; public AppShell(IFirebaseAuthClient auth) { InitializeComponent(); …
Developer technologies | .NET | .NET MAUI
iOS project error: IL Trimmer has encountered an unexpected error.
I get two errors when I debug an empty iOS project on my iPad Air in Visual Studio Community 2026 Insiders 11123.170. IL Trimmer has encountered an unexpected error. Please report the issue at https://aka.ms/report-illink The file…
Developer technologies | .NET | .NET MAUI
VSCode with MAUI extension on Mac not loading Solution file
I have been using VSCode for MAUI mobile dev for a while now on a Mac. Up until a couple days ago when I opened the folder with my solution in it it would also load the solution file and show the solution explorer. Now when I open the folder, even using…
Developer technologies | .NET | .NET MAUI
Issue While Interactive login in MSAL
I am getting the exception “Value cannot be null. (Parameter ‘ErrorCode’)” while performing interactive login using Microsoft.Identity.Client in a Windows application. What does this error actually mean?