4,174 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
1 answer

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
asked 2025-12-01T10:11:43.48+00:00
Sreenivasan, Sreejith 330 Reputation points
commented 2025-12-09T12:14:48.0866667+00:00
Sreenivasan, Sreejith 330 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-01T11:08:46.33+00:00
Sreenivasan, Sreejith 330 Reputation points
accepted 2025-12-09T12:11:46.46+00:00
Sreenivasan, Sreejith 330 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-04T13:15:06.0066667+00:00
Sreenivasan, Sreejith 330 Reputation points
commented 2025-12-09T12:11:03.5666667+00:00
Sreenivasan, Sreejith 330 Reputation points
2 answers

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
asked 2025-12-04T15:35:09.68+00:00
Connor Patchett 0 Reputation points
commented 2025-12-09T10:50:09.08+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
asked 2025-12-07T08:57:06.9833333+00:00
Kim Strasser 1,711 Reputation points
accepted 2025-12-09T09:20:25.43+00:00
Kim Strasser 1,711 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked 2025-01-18T16:28:39.4233333+00:00
Bhuwan 1,116 Reputation points
accepted 2025-12-09T09:17:16.43+00:00
Bhuwan 1,116 Reputation points
1 answer

.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
asked 2025-04-25T14:19:39.2266667+00:00
NickNN 40 Reputation points
commented 2025-12-09T07:05:15.47+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2025-11-04T21:08:44.2066667+00:00
Kim Strasser 1,711 Reputation points
commented 2025-12-08T21:21:58.5433333+00:00
Kim Strasser 1,711 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-04-08T09:52:49.4866667+00:00
Vaibhav Methuku 205 Reputation points
accepted 2025-12-08T11:54:12.89+00:00
Vaibhav Methuku 205 Reputation points
1 answer

.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
asked 2025-12-02T22:17:32.8033333+00:00
Heinz Deubler 201 Reputation points
commented 2025-12-08T10:12:05.1066667+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2025-11-10T22:38:41.35+00:00
Kim Strasser 1,711 Reputation points
commented 2025-12-07T01:17:11.8633333+00:00
khizarbajwa 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-03T10:43:29.6766667+00:00
Kim Strasser 1,711 Reputation points
accepted 2025-12-05T15:06:18.23+00:00
Kim Strasser 1,711 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked 2025-11-18T06:03:24.82+00:00
Toman, Martin 20 Reputation points
commented 2025-12-05T12:03:35.9566667+00:00
Toman, Martin 20 Reputation points
0 answers

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
asked 2025-11-28T07:58:55.85+00:00
Sreenivasan, Sreejith 330 Reputation points
commented 2025-12-05T10:03:56.3866667+00:00
Michael Le (WICLOUD CORPORATION) 6,100 Reputation points Microsoft External Staff Moderator
2 answers

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
asked 2025-09-29T18:42:08.6366667+00:00
Brad Rice 20 Reputation points
edited an answer 2025-12-05T07:22:55.7766667+00:00
Michael Le (WICLOUD CORPORATION) 6,100 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
asked 2025-12-02T09:40:26.5066667+00:00
Sreenivasan, Sreejith 330 Reputation points
commented 2025-12-04T13:29:39.4733333+00:00
Sreenivasan, Sreejith 330 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked 2025-11-30T17:02:39.6833333+00:00
Eduardo Gomez 4,136 Reputation points
accepted 2025-12-03T13:29:37.86+00:00
Eduardo Gomez 4,136 Reputation points
2 answers

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
asked 2025-10-27T21:31:33.97+00:00
Kim Strasser 1,711 Reputation points
commented 2025-12-03T10:48:26.31+00:00
Kim Strasser 1,711 Reputation points
3 answers

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
asked 2025-11-19T15:02:22.1166667+00:00
Tony Pitman 110 Reputation points
commented 2025-12-02T06:15:17.6633333+00:00
Jack Dang (WICLOUD CORPORATION) 5,205 Reputation points Microsoft External Staff Moderator
1 answer

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?

Developer technologies | .NET | .NET MAUI
asked 2025-11-18T11:24:46.7466667+00:00
Vaibhav Methuku 205 Reputation points
commented 2025-12-01T09:12:29.73+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator