3,815 questions with .NET MAUI tags

Sort by: Updated
2 answers

MAUI Migration - Xamarin.Android.Common.targets error XA4215

I have an app I migrated from Xamarin.Android to .NET MAUI Android. I am getting the following error. I don't understand why, as the app is MAUI so why would anything Xamarin show up? (Xamarin.Android.Common.Targets - what is this? I can't find it on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2024-01-30T16:55:48.5366667+00:00
Andrew S Bissada 5 Reputation points
answered 2025-01-14T23:03:26.05+00:00
Bruce (SqlWork.com) 69,276 Reputation points
0 answers

Called multiple times

I have a turbine service that fetches data from a database, obviously I check for internet public event Action NoInternet = delegate { }; private const string collectionName = AppConstants.COLLECTIONNAME; private readonly IFirestoreService…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-14T16:59:23.9566667+00:00
Eduardo Gomez Romero 1,175 Reputation points
edited a comment 2025-01-14T19:36:45.64+00:00
Viorel 118.9K Reputation points
0 answers

Is it possible in .net Maui to get access to the current binding for a bindableproperty?

I want to be able to access the binding for a bindable property not the bound value the BindingBase that was created that controls the binding process. Specifically I want to get the path that was specified when the binding was created (usually in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-10T19:50:11.6+00:00
Jeff Pfahl 91 Reputation points
commented 2025-01-14T16:35:42.23+00:00
Jeff Pfahl 91 Reputation points
0 answers

SSO between app registrations - failing on iOS

Hello, I am attempting to make use of the tenant-level access that auth tokens have by default within B2C so that we are not passing tokens around between app registrations. On android devices, this works out of the box when navigating between apps, not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,851 questions
asked 2025-01-14T15:28:51.7733333+00:00
Holly Britain 0 Reputation points
1 answer

test return value after executing NavigateToAsync command

The following code works perfectly. but now I want to test the value returned in a global variable. (this is an inventory system with a multi column checklist page that calls and populates the infopagemodel when I tap an item/line , so that I can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-11T21:01:01.0633333+00:00
tim 200 Reputation points
answered 2025-01-14T15:21:39.0666667+00:00
tim 200 Reputation points
0 answers

MAUI: Serilog log file is not creating

I am trying to write all log details to a file and send that to our server using an API. I am using Serilog for this. I did below steps: Installed Serilog, Serilog.Extensions.Logging and Serilog.Sinks.File. MAUIProgram.cs added below code: public static…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-14T13:05:45.6333333+00:00
Sreejith Sreenivasan 901 Reputation points
edited the question 2025-01-14T14:26:28.0933333+00:00
Sreejith Sreenivasan 901 Reputation points
2 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-09T10:00:45.93+00:00
mc 5,061 Reputation points
commented 2025-01-14T14:14:14.4933333+00:00
mc 5,061 Reputation points
2 answers One of the answers was accepted by the question author.

how to read cross stich pattern file ?

how to read cross stitch parttern file ? I have cross stitch file but it can not upload it here it is .xsd (or .xsp) files?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,705 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-04T04:18:39.8766667+00:00
mc 5,061 Reputation points
commented 2025-01-14T14:10:57.78+00:00
mc 5,061 Reputation points
0 answers

Firebase crashlytics not listing any crashes did from MAUI mobile app

I did below steps to Set Up Firebase Crashlytics in my .NET MAUI app. Created a new project in firebase console and added android and ios project. Downloaded the google-services.json file and GoogleService-Info.plist file and added it on the project.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-14T10:03:38.6233333+00:00
Sakshi Poojary 95 Reputation points
edited the question 2025-01-14T13:46:46.8+00:00
Sakshi Poojary 95 Reputation points
2 answers

MAUI: How to close Communitytoolkit.Maui.Views PopUp page from Content View page

I am using the .NET Community toolkit for the Popup page. The opening and closing are working fine for the popup page from the Content page. But I am unable to close the popup page from the Content View page. I used the Close(); to close the popup page…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2024-01-18T07:02:44.1533333+00:00
Aleena George 30 Reputation points
answered 2025-01-14T13:45:13.9433333+00:00
Nick Kovalsky 0 Reputation points
0 answers

Firebase crashlytics not listing any crashes did from MAUI mobile app

I did below steps to Set Up Firebase Crashlytics in my .NET MAUI app. Created a new project in firebase console and added android and ios project. Downloaded the google-services.json file and GoogleService-Info.plist file and added it on the project. (I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-14T13:07:12.28+00:00
Sreejith Sreenivasan 901 Reputation points
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-14T13:04:16.6533333+00:00
Dani_S 3,911 Reputation points
0 answers

.NET MAUI getting error on Android : Error inflating class android.widget.TextView

In .NET MAUI getting below error only for android when i try to show snackbar (maui toolkit) : Java.Lang.RuntimeException Binary XML file line #26 in it.test.App:layout/design_layout_snackbar_include: Binary XML file line #26 in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-14T11:46:50.05+00:00
Paolo Levati 0 Reputation points
edited a comment 2025-01-14T12:03:30.8266667+00:00
Paolo Levati 0 Reputation points
0 answers

Maui app in mac using VS Code stop working

Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-05T08:46:43.92+00:00
Dani_S 3,911 Reputation points
commented 2025-01-14T09:55:19.1966667+00:00
Dani_S 3,911 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.
3,815 questions
asked 2025-01-08T17:25:24.1833333+00:00
Adrian Lewis 20 Reputation points
commented 2025-01-14T09:43:02.8533333+00:00
Adrian Lewis 20 Reputation points
0 answers

How to show Clusters of Pins are in .net maui iOS?

I have a Xamarin code which create cluster of Pins in the map. But the same code in maui is not working. In Xamarin I have create cluster using MapRenderer and it worked. But After migrating MapRenderer to MapHandler. Some methods are missing in which is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-13T08:36:21.94+00:00
Pratham 20 Reputation points
commented 2025-01-14T09:34:53.8266667+00:00
Pratham 20 Reputation points
1 answer

I have a question about Google Play’s app account deletion requirements

I found this on Google support: The User Data policy's Account Deletion Requirement means that: All developers must complete new Data deletion questions in the Data safety form on the App content page (Policy > App content) in Play Console. If your…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-05T21:10:36.8266667+00:00
Kim Strasser 1,201 Reputation points
commented 2025-01-14T08:57:21.1033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,906 Reputation points Microsoft Vendor
2 answers

Maui app in mac - how usb names behaves in MAC

Hi, I would like to know if the USB has consistent names when i insert them to all kinds of MAC computers. The USBs mount to folders and i want to show only the inserted USB in c# using this code: DriveInfo[] drives = DriveInfo.GetDrives().Where(drive…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-05T09:06:37.4166667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-14T08:48:00.8566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,226 Reputation points Microsoft Vendor
1 answer

Some of the items size in collectionview is not aligned with values provided, How to fix this

I am capturing images and adding it to CollectionView. Sometimes 1st,3rd,5th,7th,9th images are changing in size after capturing 2nd,4th,8th,10th images. Below the code I am using <CollectionView ItemsSource="{Binding Model.CapturedImages}"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-02T11:37:22.9033333+00:00
RaviKiran P 0 Reputation points
commented 2025-01-14T08:42:46.7466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,906 Reputation points Microsoft Vendor
1 answer

Java.Lang.ClassNotFoundException Didn't find class "androidx.core.splashscreen.SplashScreen" on path: DexPathList

I get the following error in Activity1.cs in my Android project: protected override void OnCreate(Bundle bundle) { AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen(this); Java.Lang.ClassNotFoundException Message=Didn't find class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,815 questions
asked 2025-01-12T14:14:34.6133333+00:00
Kim Strasser 1,201 Reputation points
edited a comment 2025-01-14T08:35:01.2133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,906 Reputation points Microsoft Vendor