4,147 questions with .NET MAUI tags

Sort by: Updated
0 answers

Scrolling Issue on Tabbed Page in iOS When Adding Dynamic Labels

I am experiencing a scrolling issue on a tabbed page in iOS when dynamically adding labels. In most cases (approximately 8 out of 10 times), I am unable to scroll down after adding the labels. This issue occurs on both real and simulator devices. …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-17T06:05:47.6133333+00:00
Omkar Pawar 235 Reputation points
0 answers

Dynamic NavMenu

I am trying to implement the default NavMenu.razor with a number of NavLinks where one of the items is not visible by default. It should only become visible after an authenticated user belonging to a specific role condition is true. My code snippet is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-16T22:02:23.6333333+00:00
Onyango, David 31 Reputation points
2 answers

UI freezes for sometime after UI binding

My data is binding to UI quickly but the UI freezes for few seconds and I have only 2 records. I am loading data in ContentView Loaded event var newStops = await Task.Run(() => { return response.Stops .OrderByDescending(x =>…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-15T17:09:15.28+00:00
Shashank Gaddam [C] 20 Reputation points
answered 2025-06-16T05:35:47.4466667+00:00
Shashank Gaddam [C] 20 Reputation points
0 answers

Can I use getManufacturerSpecificData in StartDiscovery in .net android?

how to use getManufacturerSpecificData in StartDiscovery not StartLeScan?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-16T04:07:43.9533333+00:00
mc 5,406 Reputation points
1 answer

Unable to Authenticate MAUI Application on Android

I have a Blazor hybrid app that successfully authenticates against Azure client OpenID authentication scheme on windows but fails on android device. Is there a working example to reference specifically for Android?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-14T21:29:52.3133333+00:00
Onyango, David 31 Reputation points
answered 2025-06-15T21:35:29.96+00:00
Onyango, David 31 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix this issue - Failed to marshal the Objective-C object 0x1257d5880

I am facing an issue on an iOS device. After installing the app and opening it, I encounter this error. Failed to marshal the Objective-C object 0x1257d5880 (type: Microsoft_Maui_Controls_Handlers_Items_VerticalCell). Could not find an existing managed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-13T06:43:10.1933333+00:00
Bhuwan 881 Reputation points
edited a comment 2025-06-15T08:01:35.1333333+00:00
Bhuwan 881 Reputation points
1 answer

How to improve tapping feedback in Maui

Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-11T07:37:38.9933333+00:00
Haviv Elbsz 2,071 Reputation points
edited an answer 2025-06-15T06:58:42.79+00:00
1 answer

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,816 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,672 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2024-05-08T03:16:48.12+00:00
م.طارق علي 0 Reputation points
edited an answer 2025-06-15T06:54:29.63+00:00
1 answer

When I try to deploy to an iPhone 6 running iOS 12.5.7 I get: error MT1006: Could not install the application ... on the device 'iPwn Nova': Device is invalid (0xe8000084).

A couple of my apps and also a brand new created test app all get the same error when I try to deploy to either of my iPhone 6 devices. It also takes a very long time for the error to finally occur and the build to stop. I can say the following things…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-05-31T04:12:37.4966667+00:00
Kevin Anderson 0 Reputation points
commented 2025-06-15T03:10:52.73+00:00
Kevin Anderson 0 Reputation points
1 answer

Source generator

Hello I have a Class library, with a class using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Text; namespace FontAliasGenerator { // Step 1: Mark this class as an incremental source generator [Generator] …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-08T21:28:58.7333333+00:00
Eduardo Gomez 3,651 Reputation points
answered 2025-06-14T16:10:43.47+00:00
1 answer

.NET MAUI Dns.GetHostEntry()/Socket.Connect() exception on Android 10 and Android Emulator API 27

I have a .NET MAUI implementation of System.Net.Sockets that runs fine on Windows, but when run on Android 10, the call to Dns.GetHostEntry("GAI-W10-Dev1"); throws an exception:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2022-10-04T20:05:27.55+00:00
Rodney (Rod) Girod 11 Reputation points
commented 2025-06-14T03:53:16.05+00:00
Bindu Arun - MS Cloud 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to divide Path by line in .net android?

I am using .net android canvas. and how to divide Path into two paths by line? there is Path which by many lines. and I want to dive the shape into two paths by the green one. but actually the line is the orange one

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-08T00:35:55.8166667+00:00
mc 5,406 Reputation points
edited a comment 2025-06-13T20:34:53.9+00:00
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
2 answers

Cannot Build iOS on Real Device: Error resolving type specified in JSON

Not getting this on other projects, but the project files look effectively the same and I'm not using any special nugets that shouldn't be cross platform... Any ideas? Copilot says this is a "known issue" and that I need to ensure XCode is up…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-09T22:53:20.7666667+00:00
Auri A. Rahimzadeh 11 Reputation points
commented 2025-06-12T06:17:06.8133333+00:00
Saideep Anchuri 8,930 Reputation points Microsoft External Staff Moderator
3 answers

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'…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2022-09-05T20:16:11.997+00:00
Lloyd Sheen 1,486 Reputation points
commented 2025-06-11T11:46:02.46+00:00
Daniel Towers 0 Reputation points
1 answer

How to impleyment slient printing in maui blazor

Hi, I have working on a new app for billing purposes, For cross-platform I made a project Maui Blazor. Now all other development finished, Haven't got any ideas for printing the receipts on sales. Please help me out in this scenario. Concept is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2023-01-02T11:34:45.877+00:00
Manu Michael Samuel 131 Reputation points
answered 2025-06-07T15:32:23.6966667+00:00
MONDAY ONOFURHO 0 Reputation points
1 answer

How to fix white screen in release mode and there were no any error occured

How to fix white screen in release mode and there were no any error occured, debugging mode still can appear content in razor page, while after release to App Store keep appear white screen....

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-04T03:25:27.2033333+00:00
Jongfoo Shee 0 Reputation points
edited an answer 2025-06-06T16:53:11.69+00:00
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
2 answers

Strange behavior of .NET MAUI application on different versions of Android.

The application window styles have a background image added. The application uses a theme based on Theme.Material3.Light.NoActionBar. The application was tested on both emulators and physical devices on Android 9 and Android 15. Unlike on Android 9,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-05-24T21:03:07.0866667+00:00
Roman Pristinsky 46 Reputation points
answered 2025-06-05T15:33:28.3066667+00:00
ThirisanpttMelsan344-2075 0 Reputation points
1 answer One of the answers was accepted by the question author.

Android arm emulator devices give confusing errors and won't start

Am trying to build .Net Maui app on new Surface Laptop with Snapdragon (ARM64) processor and Windows 11 Pro. If I install any arm device via Android Device Manager in VS 2022 (eg Pixel 7 - API 35), when I click "Start" I get an immediate error:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-01-08T17:25:24.1833333+00:00
Adrian Lewis 20 Reputation points
commented 2025-06-04T09:43:47.89+00:00
Jeroen B 56 Reputation points
0 answers

Net Maui Android debug on Physical device

I should debug an android app to verify the correct functioning of the InAppBilling package by james Montemagno, as per instructions (https://jamesmontemagno.github.io/InAppBillingPlugin/TestingAndTroubleshooting.html) I have to debug on a physical…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-03T15:36:24.6533333+00:00
Antonio Moscati 0 Reputation points
0 answers

faild to write to usb sd card in .net android

I am using .net android and I want to write to the usb sd card. var sm = (Android.OS.Storage.StorageManager)GetSystemService(Android.Content.Context.StorageService); if (sm == null) { return; } var path = sm.StorageVolumes?.FirstOrDefault(x =>…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,147 questions
asked 2025-06-03T14:57:08.28+00:00
mc 5,406 Reputation points