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

Sort by: Updated
2 answers

Does it matter if I have using directives in my iOS/Android project that I don´t use?

I have a few using directives in my project that are greyed out and I don´t know if I use one of these using directives in my iOS/Android project. Does it matter if I have using directives in my iOS/Android project that I don´t use when I submit my game…

Developer technologies | .NET | .NET MAUI
asked 2026-05-07T20:01:59.55+00:00
Kim Strasser 2,536 Reputation points
answered 2026-05-07T22:59:56.76+00:00
Radwan Almsora 0 Reputation points
1 answer

Adding Entitlements.plist crashes the IOS publish

I have just upgraded a .NET 8 MAUI app to .NET 10 and one of the requirements is that I have an Entitlements.plist file for access to the keychain. My publish is failing with a missing ResourceRule.plist file, but I followed all the instructions of…

Developer technologies | .NET | .NET MAUI
asked 2026-05-06T09:44:16.3966667+00:00
Jai Holloway 60 Reputation points
commented 2026-05-07T12:41:57.2533333+00:00
Jai Holloway 60 Reputation points
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-05-07T08:38:06.3966667+00:00
Nancy Vo (WICLOUD CORPORATION) 3,550 Reputation points Microsoft External Staff Moderator
3 answers

Missing ResourceRules.plist in MAUI archive process

Hi there We had a XAMARIN app which was upgraded to .NET 8 MAUI, which was then upgraded to .NET 10 MAUI. I can no longer build in .NET 8, which is why the upgrade happened. I am now trying to archive the file in .NET 10 but am getting an error that the…

Developer technologies | .NET | .NET MAUI
asked 2026-05-05T06:45:28.42+00:00
Jai Holloway 60 Reputation points
commented 2026-05-07T07:31:56.4433333+00:00
Jai Holloway 60 Reputation points
2 answers

Seeking Architecture and Layout Recommendations for a .NET 10 MAUI Tablet POS App

Hello everyone! I work at a company where we heavily use .NET MAUI for our internal applications. I’ve been tasked with building a brand-new Point of Sale (POS) app specifically designed for Tablets, and we want to build it using .NET 10 to take…

Developer technologies | .NET | .NET MAUI
asked 2026-05-06T17:37:23.2666667+00:00
Gibran Trujillo Martinez 0 Reputation points
answered 2026-05-07T06:49:23.8066667+00:00
Nancy Vo (WICLOUD CORPORATION) 3,550 Reputation points Microsoft External Staff Moderator
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
commented 2026-05-06T02:33:25.45+00:00
Nancy Vo (WICLOUD CORPORATION) 3,550 Reputation points Microsoft External Staff Moderator
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-05-05T02:45:16.43+00:00
Nancy Vo (WICLOUD CORPORATION) 3,550 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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,536 Reputation points
accepted 2026-05-04T08:29:30.1133333+00:00
Kim Strasser 2,536 Reputation points
2 answers One of the answers was accepted by the question author.

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,536 Reputation points
accepted 2026-05-04T08:26:51.3466667+00:00
Kim Strasser 2,536 Reputation points
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 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,550 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,536 Reputation points
accepted 2026-04-27T11:32:07.5933333+00:00
Kim Strasser 2,536 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,550 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,550 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…

SQL Server | Other
Developer technologies | .NET | .NET MAUI
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,080 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,550 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,550 Reputation points Microsoft External Staff Moderator