3,842 questions with .NET MAUI tags

Sort by: Updated
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,059 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
commented 2025-01-22T07:21:51.8666667+00:00
Haider Ali Faizi 100 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,842 questions
asked 2025-01-05T08:46:43.92+00:00
Dani_S 3,911 Reputation points
commented 2025-01-22T07:16:42.6833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,711 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Hot restart issue

I always get this error message..., is the same for Individual or Enterprise keys. What goes wrong? My Apple keys ID-s are all valid, I have a paid Apple Developer account

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-20T14:48:23.7533333+00:00
Istvan Jakab 20 Reputation points
commented 2025-01-22T05:38:35.7066667+00:00
Istvan Jakab 20 Reputation points
2 answers

Create exe for .NET MAUI windows

I am developing a windows application in .NET MAUI using Visual Studios 2022. I need to test it on another machine so I publish the app and create MSIX file. But when I install the certificate there, it is installed successfully but on executing the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,368 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-20T11:21:50.29+00:00
developer 0 Reputation points
edited an answer 2025-01-22T05:31:21.6166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Handle unhandled exception in MAUI

Hi, I used .Net 7 , vs 17.4 in windows. Is there place where i can treat unhandled exception in MAUI app like IN WPF ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2023-10-25T04:58:34.8066667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-22T03:58:26.7366667+00:00
Prashanth Sundareshan 0 Reputation points
0 answers

How to fix the blank screen after splash screen on .net maui app

I have an application that I have deployed to an ios device that is now showing a black screen after the splash screen is loaded. I am running the latest xcode, vs versions and the project is targeting .net 9. What should I be looking for as a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-22T01:38:29.3933333+00:00
Daniel Man 0 Reputation points
edited a comment 2025-01-22T03:46:37.33+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,711 Reputation points Microsoft Vendor
1 answer

When using NavigationPage as the main page, I do not receive back button events.

Hi, in App.xaml.cscs I have my main page initiated like this: MainPage = new NavigationPage(new MainPage()); However when I do that, this event is never called from any of my pages: protected override bool OnBackButtonPressed() If I use …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-21T18:05:54.9866667+00:00
Phunction 281 Reputation points
answered 2025-01-22T02:48:39.7333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
0 answers

When will .NET9 support Android 16?

The Android16 schedule is available at: https://urldefense.com/v3/https://developer.android.com/about/versions/16/overview?hl=ja;!!GCTRfqYYOYGmgK_z!-0ob263aKfjnL10jL8aXmnXe6VLQBhB_v0ZpqhMTFR_9_9T40wfij8KDzfRoSOlGhpcoEryYgm86zKOiW8RVI9oKicpv7ZOICSfG$…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-22T02:10:37.62+00:00
mitap 20 Reputation points
0 answers

Weird disappearing error

I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited a comment 2025-01-22T00:56:19.8433333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
1 answer

How to make text wrap automatically in a custom dropdown for Android in .NET MAUI?

I’m working on a .NET MAUI project using .NET MAUI 8 and targeting Android API Level 34 (Android 13). <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34" /> What I’ve Tried: I ensured the layout for the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-16T07:16:49.1466667+00:00
KarPreet 80 Reputation points
commented 2025-01-22T00:55:52.2366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,356 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Permanent MAUI config file survives update of application

Hello experts I have a MAUI C# code below, for reading and writing a text file of user setting (like colors, ids, last state..) of MAUI application. Works perfect (development)! (MAUI Android and MAUI Windows) But what happends with this setting file, if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-07T13:19:50.17+00:00
Wheelstring 170 Reputation points
commented 2025-01-21T17:36:21.44+00:00
Wheelstring 170 Reputation points
0 answers

Called multiple times

Minimal code example AppShellViewModel public partial class AppShellViewModel { private readonly IConnectivity _connectivity; public AppShellViewModel(IConnectivity connectivity, NoInternetPopUp noInternetPopUp) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-14T16:59:23.9566667+00:00
Eduardo Gomez Romero 1,215 Reputation points
commented 2025-01-21T10:15:09.4166667+00:00
Eduardo Gomez Romero 1,215 Reputation points
1 answer One of the answers was accepted by the question author.

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,842 questions
asked 2025-01-14T13:05:45.6333333+00:00
Sreejith Sreenivasan 921 Reputation points
accepted 2025-01-21T10:08:19.92+00:00
Sreejith Sreenivasan 921 Reputation points
1 answer

compile binding help

So I am trying to follow the docs <HorizontalStackLayout BindingContext="{x:Reference slider}" x:DataType="Slider"> <Label Text="{Binding Value}" /> <Label Text="{Binding Text,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-15T13:54:16.1466667+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited a comment 2025-01-21T09:31:37.5+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
1 answer

COMException -2147023728 when calling BackgroundTaskRegistration in MAUI WinUI project

I downloaded the C#/WinRT example here for implementing background tasks and it runs successfully, but it's a WPF app. Attempting to do the same in a single or multi-project MAUI app results in COMException -2147023728 when calling…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-17T01:50:11.8166667+00:00
ishebewhat 1 Reputation point
answered 2025-01-21T08:51:08.0633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unable to Save Edited DOCX File in MAUI App

When using the OpenFile() method to open Word documents from a file path such as "content://com.app.fileapp.fileprovider/doc_files/demo_241211113315.docx," I am able to edit the document but encounter an issue when attempting to save it—I'm…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
929 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-20T14:42:03.38+00:00
George Phillips 20 Reputation points
accepted 2025-01-21T07:26:44.34+00:00
George Phillips 20 Reputation points
1 answer

adding a maui class library to maui project - fails to find reference to a method when compiling

Hi, I am using VS 2022, net 9.0 I have a Maui App project with a reference to Maui Class Library project. The reference is loaded correctly and I can reference the method in MauiProgram.cs, ( can do right click and go to implementation) I have set the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-18T14:09:25.53+00:00
Ryan Lee 20 Reputation points
commented 2025-01-21T06:59:39.62+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,711 Reputation points Microsoft Vendor
1 answer

How to clear navigation stack in App Shell

I'm currently using the App Shell in my application. I would like to clear the previously opened pages in my app. How to clear the previously opened pages in MAUI App Shell?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2023-08-16T09:51:46.6+00:00
RK 0 Reputation points
commented 2025-01-21T05:40:43.7933333+00:00
Abiola Akinnubi 0 Reputation points
1 answer

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,842 questions
asked 2025-01-14T10:03:38.6233333+00:00
Sakshi Poojary 95 Reputation points
commented 2025-01-21T05:26:31.2866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,356 Reputation points Microsoft Vendor
1 answer

When adding a new source at the end of the previous song finished, the plugin media element will report an error

I want to realize that auto play next song when the previous song was finished playing,so I add a function for the event of mediaended, and add a new source by the mediaelemen object's properties source(mediaelement.source) ,however it report a bug, I…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,729 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,059 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,842 questions
asked 2025-01-15T07:41:23.6566667+00:00
dghgd 0 Reputation points
commented 2025-01-21T05:13:27.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor