3,834 questions with .NET MAUI tags

Sort by: Updated
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,834 questions
asked 2025-01-18T14:09:25.53+00:00
Ryan Lee 20 Reputation points
commented 2025-01-18T22:50:13.8633333+00:00
Ryan Lee 20 Reputation points
0 answers

How to Remove the Gray Line Between FlyoutItem and ShellContent in .NET MAUI Shell

I am working on a .NET MAUI Shell application and have noticed an issue where there is an unwanted gray line appearing between the FlyoutItem and the ShellContent. This line appears when navigating between the FlyoutItem and the ShellContent in my app's…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-18T19:06:05.1566667+00:00
Arnab Mukherjee 20 Reputation points
0 answers

How to use SelectedIndexChanged or CommandParameter with CommunityToolkit.Mvvm

I am using CommunityToolkit.Mvvm with ObservableObject and ObservableProperty. In the MVVM pattern, how can I trigger the SelectedIndexChanged event for a Picker when an item is selected, or handle changes in an Entry when typing into the textbox? …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-18T16:28:39.4233333+00:00
Bhuwan 736 Reputation points
commented 2025-01-18T17:00:53.9233333+00:00
Bhuwan 736 Reputation points
2 answers

How can I symbolicate my iOS crash report?

I have uploaded my application to TestFlight but it always crashes when I start it on my iPad. I have tried to open the crash report file crashlog.crash in Xcode-->Window-->Devices and Simulators. But the crash report is not symbolicated. How can I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-15T11:04:45.6933333+00:00
Kim Strasser 1,201 Reputation points
commented 2025-01-18T10:43:35.4833333+00:00
Firehouse Subs Menu 0 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,834 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited the question 2025-01-17T23:31:56.0733333+00:00
Eduardo Gomez Romero 1,215 Reputation points
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,834 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,767 questions
asked 2025-01-17T18:15:22.62+00:00
whvbntsql 0 Reputation points
edited the question 2025-01-17T21:53:00.1+00:00
Erland Sommarskog 115.6K Reputation points MVP
4 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,208 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 25 Reputation points
commented 2025-01-17T20:08:47.53+00:00
JamesInSC 0 Reputation points
2 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,358 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 15 Reputation points
commented 2025-01-17T17:16:45.79+00:00
Giuseppe Guerra 0 Reputation points
0 answers

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,834 questions
asked 2025-01-15T13:54:16.1466667+00:00
Eduardo Gomez Romero 1,215 Reputation points
commented 2025-01-17T12:50:09.44+00:00
Eduardo Gomez Romero 1,215 Reputation points
1 answer One of the answers was accepted by the question author.

Splash Screen is not showing on Android 12 and Below but Splash Screen Working on Android 13 and Above

Hello, I am facing an issue where my splash screen works correctly on Android 13 and above, but when I try to run my app on Android 12 and below, I just see a blank screen. Previously, I encountered issues after installing the APK where the splash screen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-16T04:57:21.1433333+00:00
Omkar Pawar 100 Reputation points
accepted 2025-01-17T11:52:20.44+00:00
Omkar Pawar 100 Reputation points
1 answer

Windows Surface Laptop 7 (ARM) - VS 2022 17.12.3 - MAUI - Hot Restart iOS - Object reference not set to an instance of an object.

Hello - going a bit kookoo here. Working on a MAUI app, not updated to 9 yet. It debugs, builds and can push to test group in Google Play Store. I'll preface all this next bit with this... I was not able to test at all on a physical usb connected iOS…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,358 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2024-12-23T03:48:52.1833333+00:00
Christopher Meehan 0 Reputation points
commented 2025-01-17T11:14:00.4166667+00:00
Adrian Lewis 20 Reputation points
2 answers

[iOS] MAUI app crashing when calling function from external library in Release mode, but works in Debug mode

MAUI .NET 9, 9.0.21, targeting iOS and Android I'm observing the app crashing on iOS when running in Release mode build from TestFlight on physical device, but works when running in Debug mode in simulators. The app crashes when a particular method is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,208 questions
asked 2025-01-15T15:15:36.6666667+00:00
Muhammad Sharif Uddin 0 Reputation points
answered 2025-01-17T10:24:07.1733333+00:00
Muhammad Sharif Uddin 0 Reputation points
2 answers One of the answers was accepted by the question author.

Cannot install maui workload version 8.0.100

Hi everyone, I am trying to install maui workload in version 8.0.100 - I have .NET SDK 8.0.401 installed. When executing "dotnet workload install maui --version 8.0.100" I get an error saying that Version 8.0.100 of package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-06T16:40:37.1+00:00
Thomas Hoefkens 20 Reputation points
accepted 2025-01-17T09:45:55.4666667+00:00
Thomas Hoefkens 20 Reputation points
0 answers

How to enable Share Extension(iOS) in .net MAUI App

Unable to add iOS share extension for my .NET MAUI app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-17T08:31:23.8166667+00:00
vignesh.m 0 Reputation points
0 answers

How to create a pdf with net maui android

I have been looking for a while for a way to create a pdf with my android device using net maui, but on the net I have not found many alternatives, almost all of them are not fully compatible, especially the image management, is there another way?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-16T07:05:17.49+00:00
Antonio Scotto 0 Reputation points
commented 2025-01-17T07:01:20.41+00:00
Eleena SAin 0 Reputation points
0 answers

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,834 questions
asked 2025-01-16T07:16:49.1466667+00:00
KarPreet 80 Reputation points
commented 2025-01-17T06:56:50.2533333+00:00
KarPreet 80 Reputation points
1 answer

Build fails after updating Plugin.FirebasePushNotifications to 3.0.17

After updating Plugin.FirebasePushNotifications to version 3.0.17, my iOS build fails with Undefined symbols for architecture x86_64 errors related to FirebaseAnalytics. I need guidance on resolving this and identifying the correct NuGet packages for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-16T08:29:21.48+00:00
nandu kathmandi 11 Reputation points
answered 2025-01-17T06:31:23.1233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,556 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to determine what triggered MAUI iOS OnActivated?

Since OnActivated() in App.Delegate is initialized under a number of circumstances other than the return from an app being in the background to the desktop, i.e. a phone call, is there any way to determine who the initiator was?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-15T16:18:27.7433333+00:00
Marc George 191 Reputation points
accepted 2025-01-17T02:01:33.9833333+00:00
Marc George 191 Reputation points
0 answers

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,834 questions
asked 2025-01-17T01:50:11.8166667+00:00
ishebewhat 1 Reputation point
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,834 questions
asked 2025-01-09T10:00:45.93+00:00
mc 5,061 Reputation points
commented 2025-01-16T21:49:40.7266667+00:00
Bruce (SqlWork.com) 69,501 Reputation points