3,839 questions with .NET MAUI tags

Sort by: Updated
0 answers

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,839 questions
asked 2025-01-21T18:05:54.9866667+00:00
Phunction 281 Reputation points
edited the question 2025-01-21T18:08:15.0966667+00:00
Phunction 281 Reputation points
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,839 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

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,839 questions
asked 2025-01-05T08:46:43.92+00:00
Dani_S 3,911 Reputation points
edited a comment 2025-01-21T12:22:55.3133333+00:00
Dani_S 3,911 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,839 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
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,839 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
commented 2025-01-21T10:11:55.1433333+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,839 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

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,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
asked 2025-01-20T11:21:50.29+00:00
developer 0 Reputation points
commented 2025-01-21T10:07:28.0766667+00:00
developer 0 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,839 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,751 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,839 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,751 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,839 questions
asked 2025-01-20T14:42:03.38+00:00
George Phillips 0 Reputation points
accepted 2025-01-21T07:26:44.34+00:00
George Phillips 0 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,839 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,556 Reputation points Microsoft Vendor
1 answer

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,839 questions
asked 2025-01-20T14:48:23.7533333+00:00
Istvan Jakab 0 Reputation points
answered 2025-01-21T06:53:11.5433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,556 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,839 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,839 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,281 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,726 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,057 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 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,751 Reputation points Microsoft Vendor
1 answer

Developing Cross-Platform MAUI Applications with VB.NET

Is it possible to develop cross-platform MAUI applications using VB.NET? Guidance and resources on this topic have been difficult to find.

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
82 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,768 questions
asked 2025-01-17T18:15:22.62+00:00
whvbntsql 0 Reputation points
commented 2025-01-21T02:13:09.66+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,281 Reputation points Microsoft Vendor
1 answer

.NET MAUI and flutter

I’m still new to .NET but have a basic understanding of C#. I’ve also worked with Flutter, but I find its extensive widgets overwhelming and hard to read. This has made me consider focusing on .NET instead. For someone relatively new to .NET but familiar…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
asked 2025-01-10T12:33:37.87+00:00
Rendy Putrayana 0 Reputation points
commented 2025-01-21T02:12:45.6133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,281 Reputation points Microsoft Vendor
1 answer

Burn Selected Folders/Files in CD-Rom

Hi, I have treeview of drive/folders + files as you see . While pressing on copy command I copied the selected files to temp folder. I want code that will burn this files with all folder structure not only the files to CD-ROM. Can you please supply all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
asked 2025-01-05T12:14:51.6766667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-21T02:12:24.73+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,281 Reputation points Microsoft Vendor
1 answer

Cannot install my app on my iPad. Error MT1006: Could not install the application

I always get this error in Visual Studio on Windows when I try to debug my iOS project on my iPad: error MT1006: Could not install the application…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
asked 2025-01-19T15:09:10.31+00:00
Kim Strasser 1,201 Reputation points
edited an answer 2025-01-21T01:28:30.6+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,556 Reputation points Microsoft Vendor
1 answer

Problems with binding Google's TapAndPay SDK on .NET MAUI

Has anyone had any luck integrating Google's TapAndPay SDK with .NET MAUI? I'm looking to support in-app card provisioning from my MAUI app to Google Pay Following the standard project setup does not map the methods correctly. I've tried mapping the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,839 questions
asked 2024-09-19T00:47:32.76+00:00
jsidri 0 Reputation points
answered 2025-01-20T17:32:23.36+00:00
Bruce (SqlWork.com) 69,806 Reputation points