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

Sort by: Updated
2 answers

Could not install workload 'ios'. Error installing the manifest "microsoft.net.sdk.ios" in version 26.2.10233

I have updated Visual Studio Community 2026 to version 18.5.2 today and now pairing to my MacBook Air is no more working: Could not install workload 'ios'. Error installing the manifest "microsoft.net.sdk.ios" in version 26.2.10233 And it…

Developer technologies | .NET | .NET MAUI
asked 2026-04-29T09:52:38.05+00:00
Kim Strasser 2,436 Reputation points
commented 2026-05-01T12:08:43.45+00:00
Varsha Dundigalla(INFOSYS LIMITED) 4,865 Reputation points Microsoft External Staff
2 answers

Exception has occurred: CLR/ObjCRuntime.ObjCException

I am facing below issue in my MAUI project on Visual Studio code for Mac: Exception has occurred: CLR/ObjCRuntime.ObjCException   An unhandled exception of type 'ObjCRuntime.ObjCException' occurred in Microsoft.iOS.dll    at…

Developer technologies | .NET | .NET MAUI
asked 2026-04-09T10:13:14.8533333+00:00
Sreenivasan, Sreejith 780 Reputation points
commented 2026-05-01T07:16:36.04+00:00
Sreenivasan, Sreejith 780 Reputation points
2 answers

MAUI Layout Questions

Hi there I have recently had to upgrade a MAUI app from .NET 8 to .NET 10 as the .NET 8 threw an error about it no longer being supported. Since upgrading, things have gone awry. The first thing is that the DarkMode style is not being used. The second is…

Developer technologies | .NET | .NET MAUI
asked 2026-04-30T11:03:12.8566667+00:00
Jai Holloway 60 Reputation points
edited an answer 2026-05-01T06:48:30.46+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers

In maui collectionview scrolling has issues in android.

In collection view scrolling to bottom when the list is updated is not happening. I am implementing the chat list and depending on user response, the response differs from chatbot. I could see the data below but I need to scroll to bottom to manually.…

Developer technologies | .NET | .NET MAUI
asked 2026-04-29T05:32:10.7866667+00:00
Keerthana Krishna 60 Reputation points
commented 2026-04-30T10:02:13.2233333+00:00
Noor Fatima 80 Reputation points
2 answers One of the answers was accepted by the question author.

LISTENABLE WORKER

I am using OnSleep to launch an asynchronous background worker that saves certain files as follows: using Android.Content; using AndroidX.Work; using Google.Common.Util.Concurrent; namespace Draft4.Platforms.Android.Workers; public class…

Developer technologies | .NET | .NET MAUI
asked 2026-04-29T18:36:04.19+00:00
Giorgio Sfiligoi 656 Reputation points
commented 2026-04-30T06:13:17.52+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers

Warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.DataStore.Android 1.2.0.2 requires Xamarin.AndroidX.DataStore.Core.Android (>= 1.2.0.2 && < 1.2.1)

I get these warnings after updating my NuGet packages: warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.DataStore.Android 1.2.0.2 requires Xamarin.AndroidX.DataStore.Core.Android (>= 1.2.0.2 && <…

Developer technologies | .NET | .NET MAUI
asked 2026-04-28T08:08:12.5566667+00:00
Kim Strasser 2,436 Reputation points
commented 2026-04-29T06:52:43.1533333+00:00
Jack Dang (WICLOUD CORPORATION) 17,085 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Simplifying APK Update Process in MAUI App

I am looking for ways to simplify the update process for a private app Currently, I can download the APK of the new version from a database. However, once the APK is downloaded, I'm unsure how to use code to perform the update. It is not on the store.

Developer technologies | .NET | .NET MAUI
asked 2025-02-06T12:15:07.2733333+00:00
F Dhcdgb 80 Reputation points
commented 2026-04-28T22:25:48.5466667+00:00
Robert Uk 0 Reputation points
3 answers

MAUI .Net10 app crashing on startup only when installed from Google Play

Hi all, I've just upgraded VS to 2026, which I use to develop mobile MAUI project. That involved targeting .Net 10 (.NET MAUI Tools 18.0.345 (fbde6c01f0)) instead of .Net 9. in the MAUI project. The Android app works perfectly in debug or release mode…

Developer technologies | .NET | .NET MAUI
asked 2026-02-03T06:14:45.9766667+00:00
ByteDigger 5 Reputation points
answered 2026-04-28T06:23:01.9966667+00:00
Boris Gavrikov 0 Reputation points
3 answers One of the answers was accepted by the question author.

How can I find out if my game is running at constant 60 frames per second without stuttering?

Sometimes my game randomly stutters in debug mode on my iOS/Andoid devices. I don´t know if it stutters more frequently on my iPad Air or on my Android phone and I don´t know if it stutters in release mode. How can I find out if my game is running at…

Developer technologies | .NET | .NET MAUI
asked 2026-04-12T20:31:28.47+00:00
Kim Strasser 2,436 Reputation points
accepted 2026-04-27T11:32:07.5933333+00:00
Kim Strasser 2,436 Reputation points
2 answers

OVERVIEW AND CLOSEALL

Environment: MAUI 10 In Android, pressing the Overview button calls OnSleep, that I use for some clear-house, such as uploading a file to cloud storage. The following snippet is a simulation: protected async override void OnSleep() { …

Developer technologies | .NET | .NET MAUI
asked 2026-04-23T19:38:21.0366667+00:00
Giorgio Sfiligoi 656 Reputation points
commented 2026-04-25T09:32:12.18+00:00
Noor Fatima 80 Reputation points
4 answers

Span gesture recognizer is not working for label with formatted string

In .net maui 20, we are trying to use span gesture recognizer for label so I can append normal text with hyperlink. When clicking on hyperlink it should navigate to that link but it's not working in this way. I am pasting the code for reference.…

Developer technologies | .NET | .NET MAUI
asked 2026-04-21T07:29:57.9+00:00
Keerthana Krishna 60 Reputation points
commented 2026-04-24T08:20:00.8633333+00:00
Susmitha T (INFOSYS LIMITED) 2,690 Reputation points Microsoft External Staff
2 answers

My app causes Maui to crash on Android. I have added try/catch everywhere, problem is in Maui somewhere.

Java.Lang.IllegalStateException: 'The specified child already has a parent. You must call removeView() on the child's parent first.' Can someone from the Maui team contact me - my app crashes Maui on Android. It has something to do with…

Developer technologies | .NET | .NET MAUI
asked 2026-04-18T16:04:19.13+00:00
Gerry Ha 5 Reputation points
commented 2026-04-24T02:33:16.5166667+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers

MAUI .NET 10 - SafeAreaEdges get actual thickness values

Is there a way to get the actual thickness values from SafeAreaEdges? I want to set my page to SafeAreaEdges.None but at the same time offset some controls if there is a safe area available. I know how todo it on iOS but not sure how to use it on…

Developer technologies | .NET | .NET MAUI
asked 2026-04-20T14:33:17.2566667+00:00
Sebastian Kruse 1 Reputation point
commented 2026-04-23T09:04:11.5633333+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers

Android .NET6 Microsoft.Data.SQLClient, error during the connection to SQL Server 2019

I use the new stack of development Android C# (not Xamarin). I have SQL Server 2019 and Visual Studio 2022. During the connection to the server with ADO.NET (Microsoft.Data.SQLClient) I have this error : A connection was succesfully established…

Developer technologies | .NET | .NET MAUI
SQL Server | Other
asked 2022-11-10T20:15:30.593+00:00
Keven Thériault 1 Reputation point
recommended 2026-04-22T20:29:54.75+00:00
JuliaMarvin 19,065 Reputation points Volunteer Moderator
2 answers

How to Modify the status bar color in the android maui .net 10

We are working on a .NET 10 MAUI application that uses AppShell. In the application, we want to update the status bar color dynamically based on the currently active page. How can we achieve this within the application? Facing this in the android 10.

Developer technologies | .NET | .NET MAUI
asked 2026-04-14T04:32:55.13+00:00
Vaibhav Methuku (ext) 0 Reputation points
commented 2026-04-21T04:26:23.4033333+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers

Guidance Required for Firebase Analytics & Crashlytics Integration in .NET MAUI (.NET 10)

We are currently working on a .NET MAUI mobile application and need to integrate Firebase Analytics and Crashlytics. Previously, in .NET 8, we created a proof of concept (POC) using Xamarin-based packages such as Xamarin.Firebase,…

Developer technologies | .NET | .NET MAUI
asked 2026-03-18T17:56:05.2766667+00:00
Reka Ravi 5 Reputation points
edited a comment 2026-04-21T04:22:34.2033333+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
4 answers

Android Emulator window is invisible/off-screen in VS 2026 Insider (Cannot interact, only visible in Alt+Tab)

Hello, I am developing a .NET MAUI application using Visual Studio 2026 Insider. When I start debugging with the Android Emulator (Pixel 9 Pro - API 31), the emulator runs in the background, but the actual interactive window never appears on my screen. I…

Developer technologies | .NET | .NET MAUI
asked 2026-04-04T17:33:46.5666667+00:00
Abdulkadir Toksöz 0 Reputation points
recommended 2026-04-20T12:03:40.36+00:00
Olga_Gh 180 Reputation points Microsoft Employee Admin
2 answers One of the answers was accepted by the question author.

I am trying to integrate Firebase Analytics and Crashlytics into a .NET MAUI (.NET 10) Android application, but I am facing a runtime exception related to Crashlytics.

Steps I followed: Created a new .NET MAUI project Created a Firebase project and added an Android app Ensured the ApplicationId matches the package name Added google-services.json to: Platforms/Android/google-services.json Set Build Action to…

Developer technologies | .NET | .NET MAUI
asked 2026-04-06T11:36:26.9566667+00:00
Vignesh Palthurai 20 Reputation points
commented 2026-04-20T10:20:29.9633333+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
1 answer

MAUI issue - iOS CarouselView does not update content correctly when Accessibility (Voice Over) is enabled

When using CarouselView together with IndicatorView in .NET MAUI, enabling Accessibility/Screen Reader (such as VoiceOver on iOS) causes the CarouselView content to not update when navigating items. However, the IndicatorView does update correctly,…

Developer technologies | .NET | .NET MAUI
asked 2026-04-01T10:45:05.1533333+00:00
Raghavender Yelisetty (ext) 0 Reputation points
commented 2026-04-20T08:19:32.4666667+00:00
Nancy Vo (WICLOUD CORPORATION) 3,305 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

THEME FOR RADIOBUTTON

Consider the following snippet for MAUI 10: <VerticalStackLayout RadioButtonGroup.GroupName="group" RadioButtonGroup.SelectedValue="{Binding Selected}"> …

Developer technologies | .NET | .NET MAUI
asked 2026-04-13T07:17:00.1433333+00:00
Giorgio Sfiligoi 656 Reputation points
commented 2026-04-20T06:50:34.56+00:00
Jack Dang (WICLOUD CORPORATION) 17,085 Reputation points Microsoft External Staff Moderator